|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface VersionComparator
A rule for comparing and manipulating versions.
Method Summary | |
---|---|
int |
getSegmentCount(org.apache.maven.artifact.versioning.ArtifactVersion artifactVersion)
Returns the number of segments specified or specifiable in the supplied artifact version. |
org.apache.maven.artifact.versioning.ArtifactVersion |
incrementSegment(org.apache.maven.artifact.versioning.ArtifactVersion artifactVersion,
int segment)
Increment the specified segment of the supplied version. |
Methods inherited from interface java.util.Comparator |
---|
compare, equals |
Method Detail |
---|
int getSegmentCount(org.apache.maven.artifact.versioning.ArtifactVersion artifactVersion)
artifactVersion
- The artifact version to count the segments of.
org.apache.maven.artifact.versioning.ArtifactVersion incrementSegment(org.apache.maven.artifact.versioning.ArtifactVersion artifactVersion, int segment)
artifactVersion
- The artifact version to increment.segment
- The segment number to increment.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |