Class SemanticVersion
java.lang.Object
com.intershop.tool.architecture.versions.SemanticVersion
-
Method Summary
Modifier and TypeMethodDescriptionbooleanintintgetMajor()intgetMinor()intgetPatch()inthashCode()booleanbooleantoString()static SemanticVersionvalueOf(int major, int minor, int patch) static SemanticVersion
-
Method Details
-
valueOf
-
valueOf
-
isIncrementable
public boolean isIncrementable()- Returns:
- true in case the number schema allows sorting
-
isSemantic
public boolean isSemantic()- Returns:
- true in case the number follows the semantic version schema
-
getMajor
public int getMajor() -
getMinor
public int getMinor() -
getPatch
public int getPatch() -
getIncrement
public int getIncrement() -
getVersion
-
hashCode
public int hashCode() -
equals
-
toString
-
getIncrementState
-
getVersionWithoutBuildExtension
-