Class Version
- java.lang.Object
-
- com.github.toolarium.system.command.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 timestampstatic java.lang.String
COMPONENT_ID
The component idstatic java.lang.String
DESCRIPTION
The descriptionstatic java.lang.String
GROUP_ID
The group idstatic boolean
IS_RELEASE_VERSION
Define if it is a release versionstatic java.lang.String
LICENSE
The licensestatic java.lang.String
LICENSE_ORGANISATION
The license organisationstatic int
MAJOR_NUMBER
The major numberstatic int
MINOR_NUMBER
The minor numberstatic java.lang.String
PACKAGE
The packagestatic java.lang.String
PROJECT_NAME
The project namestatic java.lang.String
PROJECT_TYPE
The project typestatic java.lang.String
QUALIFIER
The version qualifierstatic int
REVISION_NUMBER
The revision numberstatic java.lang.String
SCM_NUMBER
The source management numberstatic java.lang.String
URL
The url of the projectstatic 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 numberstatic void
main(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
-
-