Class Version
java.lang.Object
com.zenith.plugin.api.Version
- All Implemented Interfaces:
Comparable<Version>
-
Field Details
-
VERSION_PATTERN_STRING
- See Also:
-
VERSION_PATTERN
-
-
Constructor Details
-
Version
-
Version
public Version(int major, int minor, int patch)
-
-
Method Details
-
getMajor
public int getMajor() -
getMinor
public int getMinor() -
getPatch
public int getPatch() -
compareTo
- Specified by:
compareToin interfaceComparable<Version>
-
toString
-
validate
-
getVersion
-
getParts
public int[] getParts() -
equals
-
canEqual
-
hashCode
-