public class Version
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
DATE
Timestamp of the current build.
|
static java.lang.String |
HG_BRANCH
Current hg branch (hg id -b).
|
static java.lang.String |
HG_TAG
Current hg tag (hg id -t), e.g.
|
static java.lang.String |
HG_VERSION
Current hg global revision id (hg id -i).
|
static int |
PY_MAJOR_VERSION
Tokenized version.
|
static int |
PY_MICRO_VERSION |
static int |
PY_MINOR_VERSION |
static int |
PY_RELEASE_LEVEL |
static int |
PY_RELEASE_SERIAL |
static java.lang.String |
PY_VERSION
The current version of Jython.
|
static java.lang.String |
TIME |
Constructor and Description |
---|
Version() |
Modifier and Type | Method and Description |
---|---|
static java.lang.String |
getBuildInfo()
Return the current build information, including revision and timestamp.
|
static java.util.Set<CodeFlag> |
getDefaultCodeFlags() |
static java.lang.String |
getHGIdentifier()
Return the current hg identifier name, either the current branch or tag.
|
static java.lang.String |
getHGVersion()
Return the current hg version number.
|
static java.lang.String |
getVersion()
Return the Python version, including compiler (or in our case,
the Java VM).
|
static java.lang.String |
getVM()
Describe the current Java VM.
|
public static java.lang.String PY_VERSION
public static int PY_MAJOR_VERSION
public static int PY_MINOR_VERSION
public static int PY_MICRO_VERSION
public static int PY_RELEASE_LEVEL
public static int PY_RELEASE_SERIAL
public static java.lang.String DATE
public static java.lang.String TIME
public static java.lang.String HG_BRANCH
public static java.lang.String HG_TAG
public static java.lang.String HG_VERSION
public static java.lang.String getHGVersion()
public static java.lang.String getHGIdentifier()
public static java.lang.String getBuildInfo()
public static java.lang.String getVM()
public static java.lang.String getVersion()
public static java.util.Set<CodeFlag> getDefaultCodeFlags()