Class Version.VersionNumberElement
java.lang.Object
com.github.toolarium.common.version.Version.VersionNumberElement
- Enclosing class:
Version
Defines the version number element
-
Method Summary
Modifier and TypeMethodDescriptionbooleanintGet the numberGet the suffixinthashCode()toString()withIncrement(int increment, boolean clearSuffix) Get version with incremented version
-
Method Details
-
getNumber
public int getNumber()Get the number- Returns:
- the number
-
getSuffix
Get the suffix- Returns:
- the suffix
-
withIncrement
Get version with incremented version- Parameters:
increment- the incrementclearSuffix- true to clear the suffix- Returns:
- the version number element
-
hashCode
public int hashCode() -
equals
-
toString
-