Package com.sun.appserv.server.util
Class VersionInfoImpl
- java.lang.Object
-
- com.sun.appserv.server.util.VersionInfoImpl
-
- All Implemented Interfaces:
VersionInfo
@Service @Singleton public class VersionInfoImpl extends Object implements VersionInfo
-
-
Constructor Summary
Constructors Constructor Description VersionInfoImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetAbbreviatedProductName()Returns the Abbreviated Product NameStringgetMajorVersion()Returns the major version of Payara, e.g.StringgetMinorVersion()Returns the minor version of Payara, e.g.StringgetUpdateVersion()Returns the update version of Payara, e.g.StringgetVersionPrefix()Returns this version's prefix, e.g.
-
-
-
Method Detail
-
getAbbreviatedProductName
public String getAbbreviatedProductName()
Description copied from interface:VersionInfoReturns the Abbreviated Product Name- Specified by:
getAbbreviatedProductNamein interfaceVersionInfo- Returns:
- The product name
-
getVersionPrefix
public String getVersionPrefix()
Description copied from interface:VersionInfoReturns this version's prefix, e.g. "Alpha".- Specified by:
getVersionPrefixin interfaceVersionInfo- Returns:
- The product version prefix
-
getMajorVersion
public String getMajorVersion()
Description copied from interface:VersionInfoReturns the major version of Payara, e.g. for Payara 5 return 5.- Specified by:
getMajorVersionin interfaceVersionInfo- Returns:
- The major version of Payara.
-
getMinorVersion
public String getMinorVersion()
Description copied from interface:VersionInfoReturns the minor version of Payara, e.g. for Payara 5.1 return 1.- Specified by:
getMinorVersionin interfaceVersionInfo- Returns:
- The minor version of Payara.
-
getUpdateVersion
public String getUpdateVersion()
Description copied from interface:VersionInfoReturns the update version of Payara, e.g. for Payara 5.20.3 return 3.- Specified by:
getUpdateVersionin interfaceVersionInfo- Returns:
- The update version of Payara.
-
-