Class Version


  • public class Version
    extends java.lang.Object
    The version class
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static java.lang.String BUILD_TIMESTAMP
      The build timestamp
      static java.lang.String COMPONENT_ID
      The component id
      static java.lang.String DESCRIPTION
      The description
      static java.lang.String GROUP_ID
      The group id
      static boolean IS_RELEASE_VERSION
      Define if it is a release version
      static java.lang.String LICENSE
      The license
      static java.lang.String LICENSE_ORGANISATION
      The license organisation
      static int MAJOR_NUMBER
      The major number
      static int MINOR_NUMBER
      The minor number
      static java.lang.String PACKAGE
      The package
      static java.lang.String PROJECT_NAME
      The project name
      static java.lang.String PROJECT_TYPE
      The project type
      static java.lang.String QUALIFIER
      The version qualifier
      static int REVISION_NUMBER
      The revision number
      static java.lang.String SCM_NUMBER
      The source management number
      static java.lang.String URL
      The url of the project
      static java.lang.String VERSION
      The full version number
    • Constructor Summary

      Constructors 
      Constructor Description
      Version()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static java.lang.String getVersion()
      Get the version number
      static void main​(java.lang.String[] args)
      Main class to print build / version information
      • Methods inherited from class java.lang.Object

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

      • PROJECT_NAME

        public static final java.lang.String PROJECT_NAME
        The project name
        See Also:
        Constant Field Values
      • COMPONENT_ID

        public static final java.lang.String COMPONENT_ID
        The component id
        See Also:
        Constant Field Values
      • PROJECT_TYPE

        public static final java.lang.String PROJECT_TYPE
        The project type
        See Also:
        Constant Field Values
      • DESCRIPTION

        public static final java.lang.String DESCRIPTION
        The description
        See Also:
        Constant Field Values
      • LICENSE_ORGANISATION

        public static final java.lang.String LICENSE_ORGANISATION
        The license organisation
        See Also:
        Constant Field Values
      • REVISION_NUMBER

        public static final int REVISION_NUMBER
        The revision number
        See Also:
        Constant Field Values
      • QUALIFIER

        public static final java.lang.String QUALIFIER
        The version qualifier
        See Also:
        Constant Field Values
      • SCM_NUMBER

        public static final java.lang.String SCM_NUMBER
        The source management number
        See Also:
        Constant Field Values
      • BUILD_TIMESTAMP

        public static final java.lang.String BUILD_TIMESTAMP
        The build timestamp
        See Also:
        Constant Field Values
      • IS_RELEASE_VERSION

        public static final boolean IS_RELEASE_VERSION
        Define if it is a release version
        See Also:
        Constant Field Values
      • VERSION

        public static final java.lang.String VERSION
        The full version number
        See Also:
        Constant Field Values
    • Constructor Detail

      • Version

        public Version()
    • Method Detail

      • main

        public static void main​(java.lang.String[] args)
        Main class to print build / version information
        Parameters:
        args - the arguments
      • getVersion

        public static java.lang.String getVersion()
        Get the version number
        Returns:
        the version number