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
Modifier and TypeFieldDescriptionprotected static EnvironmentVariableGetter
static final String
static final String
static final String
static final String
static final String
protected static ManifestGetter
static final String
-
Method Summary
Modifier and TypeMethodDescriptionstatic final BuildVersion
protected static void
void
setBuildDate
(String buildDate) void
setBuildUser
(String buildUser) void
setRevision
(String revision) void
setVersion
(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
-