public class Version
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
DATE
Timestamp of the current build.
|
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 |
getGitIdentifier()
Return the current git identifier name, normally the current tag, falling
back to the branch.
|
static java.lang.String |
getGitVersion()
Return the current git 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 getGitVersion()
public static java.lang.String getGitIdentifier()
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()