Package coneforest.psylla
Class Version
java.lang.Object
coneforest.psylla.Version
A class holding versioning information.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic String
getCode()
Returns the version encoded as a string.static int
getMajor()
Returns the major version number.static int
getMicro()
Returns the micro version number.static int
getMinor()
Returns the minor version number.static String
Get the release type.static String
Returns the version string.
-
Constructor Details
-
Version
public Version()
-
-
Method Details
-
getVersion
Returns the version string.- Returns:
- the version string.
-
getMajor
public static int getMajor()Returns the major version number.- Returns:
- the major version number.
-
getMinor
public static int getMinor()Returns the minor version number.- Returns:
- the minor version number.
-
getMicro
public static int getMicro()Returns the micro version number.- Returns:
- the micro version number.
-
getCode
Returns the version encoded as a string.- Returns:
- the version encoded as a string.
-
getReleaseType
Get the release type.- Returns:
- the release type.
-