public class VersionHelper extends Object implements org.pentaho.platform.api.util.IVersionHelper
| Constructor and Description |
|---|
VersionHelper() |
| Modifier and Type | Method and Description |
|---|---|
protected static VersionInfo |
createVersionInfo()
Extracts the version information data from the
build-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 |
getVersionInfo() |
static VersionInfo |
getVersionInfo(Class clazz) |
protected static VersionInfo |
getVersionInfoFromProperties(ResourceBundle assemblyBundle) |
String |
getVersionInformation() |
String |
getVersionInformation(Class clazz) |
String |
getVersionInformationFromProperties(ResourceBundle assemblyBundle) |
public String getVersionInformation()
getVersionInformation in interface org.pentaho.platform.api.util.IVersionHelperpublic String getVersionInformation(Class clazz)
getVersionInformation in interface org.pentaho.platform.api.util.IVersionHelperpublic String getVersionInformationFromProperties(ResourceBundle assemblyBundle)
public static VersionInfo getVersionInfo()
public static VersionInfo getVersionInfo(Class clazz)
protected static VersionInfo createVersionInfo(Manifest manifest)
manifest - the manifest informationprotected static VersionInfo createVersionInfo()
build-res/version.properties file found in the
source directory.build-res/version.properties fileprotected static VersionInfo getVersionInfoFromProperties(ResourceBundle assemblyBundle)
Copyright © 2018 Hitachi Vantara. All rights reserved.