Documentation of 'org.python.Version' Java class
Version
org.python

Class Version



  • public class Version
    extends java.lang.Object
    Jython version information. The version number and build information are loaded from the version.properties file, located in this class file's directory. version.properties is generated by ant.
    • Constructor Summary

      Constructors 
      Constructor and Description
      Version() 
    • Method Summary

      All Methods Static Methods Concrete Methods 
      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.
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • PY_VERSION

        public static java.lang.String PY_VERSION
        The current version of Jython.
      • PY_MAJOR_VERSION

        public static int PY_MAJOR_VERSION
        Tokenized version.
      • PY_MINOR_VERSION

        public static int PY_MINOR_VERSION
      • PY_MICRO_VERSION

        public static int PY_MICRO_VERSION
      • PY_RELEASE_LEVEL

        public static int PY_RELEASE_LEVEL
      • PY_RELEASE_SERIAL

        public static int PY_RELEASE_SERIAL
      • DATE

        public static java.lang.String DATE
        Timestamp of the current build.
      • TIME

        public static java.lang.String TIME
    • Constructor Detail

      • Version

        public Version()
    • Method Detail

      • getGitVersion

        public static java.lang.String getGitVersion()
        Return the current git version number. May be an empty string on environments that can't determine it.
      • getGitIdentifier

        public static java.lang.String getGitIdentifier()
        Return the current git identifier name, normally the current tag, falling back to the branch.
      • getBuildInfo

        public static java.lang.String getBuildInfo()
        Return the current build information, including revision and timestamp.
      • getVM

        public static java.lang.String getVM()
        Describe the current Java VM.
      • getVersion

        public static java.lang.String getVersion()
        Return the Python version, including compiler (or in our case, the Java VM).
      • getDefaultCodeFlags

        public static java.util.Set<CodeFlag> getDefaultCodeFlags()

DMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.