Package org.benf.cfr.reader.util
Class CfrVersionInfo
- java.lang.Object
-
- org.benf.cfr.reader.util.CfrVersionInfo
-
public class CfrVersionInfo extends java.lang.Object
Provides information about the CFR build.The information in this class is automatically generated when the project is built.
-
-
Field Summary
Fields Modifier and Type Field 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 versionstatic java.lang.String
VERSION_INFO
String consisting of CFR version and Git commit hash
-
Constructor Summary
Constructors Modifier Constructor Description private
CfrVersionInfo()
-
-
-
Field Detail
-
VERSION
public static final java.lang.String VERSION
CFR version- See Also:
- Constant Field Values
-
SNAPSHOT
public static final boolean SNAPSHOT
Are we a snapshot?
-
GIT_COMMIT_ABBREVIATED
public static final java.lang.String GIT_COMMIT_ABBREVIATED
Abbreviated Git commit hash of the commit representing this state of the project.- See Also:
- Constant Field Values
-
GIT_IS_DIRTY
public static final boolean GIT_IS_DIRTY
Whether the working tree contained not yet committed changes when the project was built.This information can be useful for error reports to find out if changes have been made.
-
VERSION_INFO
public static final java.lang.String VERSION_INFO
String consisting of CFR version and Git commit hash
-
-