Package com.spinyowl.legui
Class Version
java.lang.Object
com.spinyowl.legui.Version
This class can be used to query the LEGUI version.
-
Method Summary
Modifier and TypeMethodDescriptionstatic intReturns the major version of the library.static intReturns the minor version of the library.static intReturns the patch version of the library.static StringReturns the revision of the build.static StringReturns the version of the library.static voidPrints the version of the library.
-
Method Details
-
getVersion
Returns the version of the library.- Returns:
- version of the library.
-
getMajorVersion
public static int getMajorVersion()Returns the major version of the library.- Returns:
- major version of the library.
-
getMinorVersion
public static int getMinorVersion()Returns the minor version of the library.- Returns:
- minor version of the library.
-
getPatchVersion
public static int getPatchVersion()Returns the patch version of the library.- Returns:
- patch version of the library.
-
getRevision
Returns the revision of the build.- Returns:
- revision of the build.
-
main
Prints the version of the library.
-