Package org.savantbuild.domain
Class Version.PreRelease
java.lang.Object
org.savantbuild.domain.Version.PreRelease
- All Implemented Interfaces:
Comparable<Version.PreRelease>
- Enclosing class:
- Version
Models the PreRelease portion of the Semantic Version String.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interfaceDefines parts of a PreRelease version string. -
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionPreRelease(String spec) PreRelease(Version.PreRelease.PreReleasePart... parts) -
Method Summary
-
Field Details
-
parts
-
-
Constructor Details
-
PreRelease
-
PreRelease
-
-
Method Details
-
compareTo
- Specified by:
compareToin interfaceComparable<Version.PreRelease>
-
equals
-
hashCode
public int hashCode() -
isIntegration
public boolean isIntegration()- Returns:
- True if the PreRelease contains a part that is an integration indicator. This part must be the last part.
-
toString
-