Interface VersionInfo

  • All Known Implementing Classes:
    VersionInfoImpl

    @Contract
    public interface VersionInfo
    Service interface to define the version info for an installed product.
    • 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.