Class Version
- java.lang.Object
-
- com.github.toolarium.enumeration.configuration.Version
-
public class Version extends java.lang.ObjectThe version class
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringBUILD_TIMESTAMPThe build timestampstatic java.lang.StringCOMPONENT_IDThe component idstatic java.lang.StringDESCRIPTIONThe descriptionstatic java.lang.StringGROUP_IDThe group idstatic booleanIS_RELEASE_VERSIONDefine if it is a release versionstatic java.lang.StringLICENSEThe licensestatic java.lang.StringLICENSE_ORGANISATIONThe license organisationstatic intMAJOR_NUMBERThe major numberstatic intMINOR_NUMBERThe minor numberstatic java.lang.StringPACKAGEThe packagestatic java.lang.StringPROJECT_NAMEThe project namestatic java.lang.StringPROJECT_TYPEThe project typestatic java.lang.StringQUALIFIERThe version qualifierstatic intREVISION_NUMBERThe revision numberstatic java.lang.StringSCM_NUMBERThe source management numberstatic java.lang.StringURLThe url of the projectstatic java.lang.StringVERSIONThe 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.StringgetVersion()Get the version numberstatic voidmain(java.lang.String[] args)Main class to print build / version information
-
-
-
Field Detail
-
PROJECT_NAME
public static final java.lang.String PROJECT_NAME
The project name- See Also:
- Constant Field Values
-
GROUP_ID
public static final java.lang.String GROUP_ID
The group id- 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
-
PACKAGE
public static final java.lang.String PACKAGE
The package- See Also:
- Constant Field Values
-
DESCRIPTION
public static final java.lang.String DESCRIPTION
The description- See Also:
- Constant Field Values
-
URL
public static final java.lang.String URL
The url of the project- See Also:
- Constant Field Values
-
LICENSE
public static final java.lang.String LICENSE
The license- See Also:
- Constant Field Values
-
LICENSE_ORGANISATION
public static final java.lang.String LICENSE_ORGANISATION
The license organisation- See Also:
- Constant Field Values
-
MAJOR_NUMBER
public static final int MAJOR_NUMBER
The major number- See Also:
- Constant Field Values
-
MINOR_NUMBER
public static final int MINOR_NUMBER
The minor number- 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
-
-