Package com.sun.appserv.server.util
Class Version
java.lang.Object
com.sun.appserv.server.util.Version
This class provides static methods to make accessible the version as well as
the individual parts that make up the version
-
Constructor Details
-
Version
public Version()
-
-
Method Details
-
getVersion
- Returns:
- whole version string
-
getVersionNumber
- Returns:
- major.minor.patch
-
getProductId
- Returns:
- Eclipse GlassFish 7.0.0
-
getProductIdInfo
- Returns:
Eclipse GlassFish 7.0.0-SNAPSHOT (commit: 93176e2555176091c8522e43d1d32a0a30652d4a, timestamp: 2023-02-24T18:24:00Z)
-
getMajorVersion
public static int getMajorVersion()- Returns:
- major version
-
getMinorVersion
public static int getMinorVersion()- Returns:
- minor version
-
getPatchVersion
public static int getPatchVersion()- Returns:
- patch version
-
getProductName
- Returns:
- Product Name, ie. Eclipse GlassFish
-
getProductNameAbbreviation
- Returns:
- Abbreviated Product Name, ie. GF
-
getAdminClientCommandName
- Returns:
- the admin client command string which represents the name of the command use for performing admin related domain tasks.
-
getDomainTemplateDefaultJarFileName
- Returns:
- template name use to create default domain.
-
getDomainDefaultAdminGroups
-