Package org.verapdf
Interface SemanticVersionNumber
-
- All Superinterfaces:
Comparable<SemanticVersionNumber>
public interface SemanticVersionNumber extends 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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description int
getMajor()
int
getMinor()
int
getPatch()
String
getVersionString()
-
Methods inherited from interface java.lang.Comparable
compareTo
-
-
-
-
Method Detail
-
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
-
-