public interface VersionComparator extends Comparator<org.apache.maven.artifact.versioning.ArtifactVersion>
| Modifier and Type | Method and Description |
|---|---|
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.
|
compare, equalsint 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.Copyright © 2008-2014. All Rights Reserved.