Package org.pentaho.di.version
Class BuildVersion
java.lang.Object
org.pentaho.di.version.BuildVersion
Singleton class to allow us to see on which date & time the kettle3.jar was built.
- Since:
- 2006-aug-12
- Author:
- Matt
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected static EnvironmentVariableGetterstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringprotected static ManifestGetterstatic final String -
Method Summary
Modifier and TypeMethodDescriptionstatic final BuildVersionprotected static voidvoidsetBuildDate(String buildDate) voidsetBuildUser(String buildUser) voidsetRevision(String revision) voidsetVersion(String version)
-
Field Details
-
REFERENCE_FILE
- See Also:
-
JAR_BUILD_DATE_FORMAT
- See Also:
-
KETTLE_BUILD_VERSION
- See Also:
-
KETTLE_BUILD_REVISION
- See Also:
-
KETTLE_BUILD_DATE
- See Also:
-
KETTLE_BUILD_USER
- See Also:
-
manifestGetter
-
environmentVariableGetter
-
-
Method Details
-
getInstance
- Returns:
- the instance of the BuildVersion singleton
-
refreshInstance
protected static void refreshInstance() -
getBuildDate
- Returns:
- the buildDate
-
getBuildDateAsLocalDate
-
setBuildDate
- Parameters:
buildDate- the buildDate to set- Throws:
KettleVersionException
-
getVersion
- Returns:
- the version
-
setVersion
- Parameters:
revision- the version to set
-
getRevision
- Returns:
- the revision
-
setRevision
- Parameters:
revision- the revision to set
-
getBuildUser
- Returns:
- the buildUser
-
setBuildUser
- Parameters:
buildUser- the buildUser to set
-