Package com.sun.appserv.server.util
Class Version
- java.lang.Object
-
- com.sun.appserv.server.util.Version
-
public class Version extends Object
This class provides static methods to make accessible the version as well as the individual parts that make up the version
-
-
Constructor Summary
Constructors Constructor Description Version()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static String
getAbbreviatedVersion()
Returns abbreviated version.static String
getAbbrevProductName()
Returns Abbreviated Product Namestatic String
getAdminClientCommandName()
Returns the admin client command string which represents the name of the command use for performing admin related domain tasks.static String
getBriefProductName()
Returns Brief Product Name (used in manual pages)static String
getBuildVersion()
Returns Build versionstatic String
getDefaultDomainTemplate()
Returns template name use to create default domain.static String
getDistributionKey()
static String
getFullVersion()
Returns full version including build idstatic String
getInitialAdminGroups()
static String
getMajorVersion()
Returns Major versionstatic String
getMinorVersion()
Returns Minor versionstatic String
getProductName()
Returns Proper Product Namestatic String
getUpdateVersion()
Returns Update versionstatic String
getVersion()
Returns versionstatic String
getVersionNumber()
Return major_version [.static String
getVersionPrefix()
Returns version prefixstatic String
getVersionSuffix()
Returns version suffix
-
-
-
Method Detail
-
getVersion
public static String getVersion()
Returns version
-
getVersionNumber
public static String getVersionNumber()
Return major_version [. minor_version [. update_version]]
-
getFullVersion
public static String getFullVersion()
Returns full version including build id
-
getAbbreviatedVersion
public static String getAbbreviatedVersion()
Returns abbreviated version.
-
getMajorVersion
public static String getMajorVersion()
Returns Major version
-
getMinorVersion
public static String getMinorVersion()
Returns Minor version
-
getUpdateVersion
public static String getUpdateVersion()
Returns Update version
-
getBuildVersion
public static String getBuildVersion()
Returns Build version
-
getVersionPrefix
public static String getVersionPrefix()
Returns version prefix
-
getVersionSuffix
public static String getVersionSuffix()
Returns version suffix
-
getProductName
public static String getProductName()
Returns Proper Product Name
-
getBriefProductName
public static String getBriefProductName()
Returns Brief Product Name (used in manual pages)
-
getAbbrevProductName
public static String getAbbrevProductName()
Returns Abbreviated Product Name
-
getDefaultDomainTemplate
public static String getDefaultDomainTemplate()
Returns template name use to create default domain.
-
getAdminClientCommandName
public static String getAdminClientCommandName()
Returns the admin client command string which represents the name of the command use for performing admin related domain tasks.
-
getInitialAdminGroups
public static String getInitialAdminGroups()
-
getDistributionKey
public static String getDistributionKey()
-
-