Class VersionNumber
java.lang.Object
ch.admin.bit.jeap.deploymentlog.domain.VersionNumber
- All Implemented Interfaces:
Comparable<VersionNumber>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanintcompareTo(VersionNumber other) Order versions by Major, then minor, then patch, then build, then: Assume the presence of a postfix signifies an unreleased version (SNAPSHOT, alpha, ...) and thus an earlier version than a released version with the same numeric version parts.boolean@NonNull BigDecimalinthashCode()static VersionNumbertoString()
-
Constructor Details
-
VersionNumber
protected VersionNumber()
-
-
Method Details
-
of
-
toString
-
compareTo
Order versions by- Major, then minor, then patch, then build, then:
- Assume the presence of a postfix signifies an unreleased version (SNAPSHOT, alpha, ...) and thus an earlier version than a released version with the same numeric version parts.
- Specified by:
compareToin interfaceComparable<VersionNumber>
-
getMajorVersion
-
getMinorVersion
-
getPatchVersion
-
getBuildVersion
-
getPostfix
-
equals
-
canEqual
-
hashCode
public int hashCode()
-