Class VersionHelper

  • All Implemented Interfaces:
    org.pentaho.platform.api.util.IVersionHelper

    public class VersionHelper
    extends Object
    implements org.pentaho.platform.api.util.IVersionHelper
    • Constructor Detail

      • VersionHelper

        public VersionHelper()
    • Method Detail

      • getVersionInformation

        public String getVersionInformation()
        Specified by:
        getVersionInformation in interface org.pentaho.platform.api.util.IVersionHelper
      • getVersionInformation

        public String getVersionInformation​(Class clazz)
        Specified by:
        getVersionInformation in interface org.pentaho.platform.api.util.IVersionHelper
      • getVersionInformationFromProperties

        public String getVersionInformationFromProperties​(ResourceBundle assemblyBundle)
      • getVersionInfo

        public static VersionInfo getVersionInfo()
      • createVersionInfo

        protected static VersionInfo createVersionInfo​(Manifest manifest)
        Extracts the version information data from the manifest's attributes and puts them into a VersionInfo instance.
        Parameters:
        manifest - the manifest information
        Returns:
        the version information from the manifest
      • createVersionInfo

        protected static VersionInfo createVersionInfo()
        Extracts the version information data from the build-res/version.properties file found in the source directory.
        Returns:
        the version information from the build-res/version.properties file
      • getVersionInfoFromProperties

        protected static VersionInfo getVersionInfoFromProperties​(ResourceBundle assemblyBundle)