Package COM.activesw.api.client
Class Version
- java.lang.Object
-
- COM.activesw.api.client.Version
-
public class Version extends java.lang.Object
This class can be used to query the product version and the build attributes of the jar.
-
-
Constructor Summary
Constructors Constructor Description Version()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static java.lang.String
getDate()
Get the build date of the loaded jar.static java.lang.String
getLabel()
Get the build label of the loaded jar.static int
getMajor()
Get the major version number of the loaded jar.static int
getMinor()
Get the minor version number of the loaded jar.static java.lang.String
getNumber()
Get the version number of the loaded jar.static void
main(java.lang.String[] args)
Get the product version and the build attributes of the jar.
-
-
-
Method Detail
-
getMajor
public static int getMajor()
Get the major version number of the loaded jar.- Returns:
- major version number
-
getMinor
public static int getMinor()
Get the minor version number of the loaded jar.- Returns:
- minor version number
-
getNumber
public static java.lang.String getNumber()
Get the version number of the loaded jar.- Returns:
- version number
-
getDate
public static java.lang.String getDate()
Get the build date of the loaded jar.- Returns:
- date in MMddyyyy or yyyyMMddHHmmssZ format
-
getLabel
public static java.lang.String getLabel()
Get the build label of the loaded jar.- Returns:
- build label string
-
main
public static void main(java.lang.String[] args)
Get the product version and the build attributes of the jar.
-
-