Package org.glassfish.api
Interface VersionInfo
-
- All Known Implementing Classes:
VersionInfoImpl
@Contract public interface VersionInfoService interface to define the version info for an installed product.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StringgetAbbreviatedProductName()Returns the Abbreviated Product NameStringgetMajorVersion()Returns the major version of Payara, e.g. for Payara 5 return 5.StringgetMinorVersion()Returns the minor version of Payara, e.g. for Payara 5.1 return 1.StringgetUpdateVersion()Returns the update version of Payara, e.g. for Payara 5.20.3 return 3.StringgetVersionPrefix()Returns this version's prefix, e.g.
-
-
-
Method Detail
-
getAbbreviatedProductName
String getAbbreviatedProductName()
Returns the Abbreviated Product Name- Returns:
- The product name
-
getVersionPrefix
String getVersionPrefix()
Returns this version's prefix, e.g. "Alpha".- Returns:
- The product version prefix
-
getMajorVersion
String getMajorVersion()
Returns the major version of Payara, e.g. for Payara 5 return 5.- Returns:
- The major version of Payara.
-
getMinorVersion
String getMinorVersion()
Returns the minor version of Payara, e.g. for Payara 5.1 return 1.- Returns:
- The minor version of Payara.
-
getUpdateVersion
String getUpdateVersion()
Returns the update version of Payara, e.g. for Payara 5.20.3 return 3.- Returns:
- The update version of Payara.
-
-