Package org.globus.gsi
Class VersionUtil
java.lang.Object
org.globus.gsi.VersionUtil
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic boolean
Checks if GSI-2 mode is enabled.static boolean
Checks if GSI-3 mode is enabled.
-
Constructor Details
-
VersionUtil
public VersionUtil()
-
-
Method Details
-
isGsi3Enabled
public static boolean isGsi3Enabled()Checks if GSI-3 mode is enabled.- Returns:
- true if "org.globus.gsi.version" system property is set to "3". Otherwise, false.
-
isGsi2Enabled
public static boolean isGsi2Enabled()Checks if GSI-2 mode is enabled.- Returns:
- true if "org.globus.gsi.version" system property is set to "2". Otherwise, false.
-