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
-
Method Summary
Modifier and TypeMethodDescriptionprotected static VersionInfo
Extracts the version information data from thebuild-res/version.properties
file found in the source directory.protected static VersionInfo
createVersionInfo
(Manifest manifest) Extracts the version information data from the manifest's attributes and puts them into a VersionInfo instance.static VersionInfo
static VersionInfo
getVersionInfo
(Class clazz) protected static VersionInfo
getVersionInfoFromProperties
(ResourceBundle assemblyBundle) getVersionInformation
(Class clazz) getVersionInformationFromProperties
(ResourceBundle assemblyBundle)
-
Constructor Details
-
VersionHelper
public VersionHelper()
-
-
Method Details
-
getVersionInformation
- Specified by:
getVersionInformation
in interfaceorg.pentaho.platform.api.util.IVersionHelper
-
getVersionInformation
- Specified by:
getVersionInformation
in 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.properties
file found in the source directory.- Returns:
- the version information from the
build-res/version.properties
file
-
getVersionInfoFromProperties
-