Class Version


  • public class Version
    extends Object
    This class contains version information of the JGlobus module. The version number is composed as MAJOR.MINOR.PATCH.
    • Field Detail

      • MAJOR

        public static final int MAJOR
        The major release number
      • MINOR

        public static final int MINOR
        The minor release number
      • PATCH

        public static final int PATCH
        The patchlevel of the current release
    • Constructor Detail

      • Version

        public Version()
    • Method Detail

      • getVersion

        public static String getVersion()
        Returns the current version as string in the form MAJOR.MINOR.PATCH.
      • getMajor

        public static int getMajor()
        Returns the major release number.
        Returns:
        the major release
      • getMinor

        public static int getMinor()
        Returns the minor release number.
        Returns:
        the minor release number
      • getPatch

        public static int getPatch()
        Returns the patch level.
        Returns:
        the patch level
      • main

        public static void main​(String[] args)
        Returns the version for the Java CoG Kit as a readble string.
        Parameters:
        args -