Package org.verapdf.version
Interface SemanticVersionNumber
- All Superinterfaces:
Comparable<SemanticVersionNumber>
Simple interface for a semantic version
number. Currently ignores pre-release and build metadata
- Version:
- 0.1 Created 25 May 2017:21:49:36
- Author:
- Carl Wilson carlwilson AT github
-
Method Summary
Methods inherited from interface java.lang.Comparable
compareTo
-
Method Details
-
getVersionString
String getVersionString()- Returns:
- the version number as a String, that is major.minor.patch
-
getMajor
int getMajor()- Returns:
- the int value of the major version number
-
getMinor
int getMinor()- Returns:
- the int value of the minor version number
-
getPatch
int getPatch()- Returns:
- the int value of the patch number
-