public class CfrVersionInfo
extends java.lang.Object
The information in this class is automatically generated when the project is built.
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
GIT_COMMIT_ABBREVIATED
Abbreviated Git commit hash of the commit representing this state
of the project.
|
static boolean |
GIT_IS_DIRTY
Whether the working tree contained not yet committed changes when
the project was built.
|
static boolean |
SNAPSHOT
Are we a snapshot?
|
static java.lang.String |
VERSION
CFR version
|
static java.lang.String |
VERSION_INFO
String consisting of CFR version and Git commit hash
|
Modifier | Constructor and Description |
---|---|
private |
CfrVersionInfo() |
public static final java.lang.String VERSION
public static final boolean SNAPSHOT
public static final java.lang.String GIT_COMMIT_ABBREVIATED
public static final boolean GIT_IS_DIRTY
This information can be useful for error reports to find out if changes have been made.
public static final java.lang.String VERSION_INFO