Package org.pentaho.platform.util
Class VersionHelper
java.lang.Object
org.pentaho.platform.util.VersionHelper
- All Implemented Interfaces:
org.pentaho.platform.api.util.IVersionHelper
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected static VersionInfoExtracts the version information data from thebuild-res/version.propertiesfile found in the source directory.protected static VersionInfocreateVersionInfo(Manifest manifest) Extracts the version information data from the manifest's attributes and puts them into a VersionInfo instance.static VersionInfostatic VersionInfogetVersionInfo(Class clazz) protected static VersionInfogetVersionInfoFromProperties(ResourceBundle assemblyBundle) getVersionInformation(Class clazz) getVersionInformationFromProperties(ResourceBundle assemblyBundle)
-
Constructor Details
-
VersionHelper
public VersionHelper()
-
-
Method Details
-
getVersionInformation
- Specified by:
getVersionInformationin interfaceorg.pentaho.platform.api.util.IVersionHelper
-
getVersionInformation
- Specified by:
getVersionInformationin interfaceorg.pentaho.platform.api.util.IVersionHelper
-
getVersionInformationFromProperties
-
getVersionInfo
-
getVersionInfo
-
createVersionInfo
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
Extracts the version information data from thebuild-res/version.propertiesfile found in the source directory.- Returns:
- the version information from the
build-res/version.propertiesfile
-
getVersionInfoFromProperties
-