Package org.pentaho.di.version
Class BuildVersion
- java.lang.Object
-
- org.pentaho.di.version.BuildVersion
-
public class BuildVersion extends Object
Singleton class to allow us to see on which date & time the kettle3.jar was built.- Since:
- 2006-aug-12
- Author:
- Matt
-
-
Field Summary
Fields Modifier and Type Field Description protected static EnvironmentVariableGetter
environmentVariableGetter
static String
JAR_BUILD_DATE_FORMAT
static String
KETTLE_BUILD_DATE
static String
KETTLE_BUILD_REVISION
static String
KETTLE_BUILD_USER
static String
KETTLE_BUILD_VERSION
protected static ManifestGetter
manifestGetter
static String
REFERENCE_FILE
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getBuildDate()
Date
getBuildDateAsLocalDate()
String
getBuildUser()
static BuildVersion
getInstance()
String
getRevision()
String
getVersion()
protected static void
refreshInstance()
void
setBuildDate(String buildDate)
void
setBuildUser(String buildUser)
void
setRevision(String revision)
void
setVersion(String version)
-
-
-
Field Detail
-
REFERENCE_FILE
public static final String REFERENCE_FILE
- See Also:
- Constant Field Values
-
JAR_BUILD_DATE_FORMAT
public static final String JAR_BUILD_DATE_FORMAT
- See Also:
- Constant Field Values
-
KETTLE_BUILD_VERSION
public static final String KETTLE_BUILD_VERSION
- See Also:
- Constant Field Values
-
KETTLE_BUILD_REVISION
public static final String KETTLE_BUILD_REVISION
- See Also:
- Constant Field Values
-
KETTLE_BUILD_DATE
public static final String KETTLE_BUILD_DATE
- See Also:
- Constant Field Values
-
KETTLE_BUILD_USER
public static final String KETTLE_BUILD_USER
- See Also:
- Constant Field Values
-
manifestGetter
protected static ManifestGetter manifestGetter
-
environmentVariableGetter
protected static EnvironmentVariableGetter environmentVariableGetter
-
-
Method Detail
-
getInstance
public static final BuildVersion getInstance()
- Returns:
- the instance of the BuildVersion singleton
-
refreshInstance
protected static void refreshInstance()
-
getBuildDate
public String getBuildDate()
- Returns:
- the buildDate
-
getBuildDateAsLocalDate
public Date getBuildDateAsLocalDate()
-
setBuildDate
public void setBuildDate(String buildDate) throws KettleVersionException
- Parameters:
buildDate
- the buildDate to set- Throws:
KettleVersionException
-
getVersion
public String getVersion()
- Returns:
- the version
-
setVersion
public void setVersion(String version)
- Parameters:
revision
- the version to set
-
getRevision
public String getRevision()
- Returns:
- the revision
-
setRevision
public void setRevision(String revision)
- Parameters:
revision
- the revision to set
-
getBuildUser
public String getBuildUser()
- Returns:
- the buildUser
-
setBuildUser
public void setBuildUser(String buildUser)
- Parameters:
buildUser
- the buildUser to set
-
-