Uses of Class
org.codehaus.mojo.versions.ordering.InvalidSegmentException
Packages that use InvalidSegmentException
-
Uses of InvalidSegmentException in org.codehaus.mojo.versions.api
Methods in org.codehaus.mojo.versions.api that throw InvalidSegmentExceptionModifier and TypeMethodDescriptionorg.apache.maven.artifact.versioning.ArtifactVersion[]VersionDetails.getAllUpdates(Optional<Segment> updateScope, boolean includeSnapshots) Returns the all versions newer than the specified current version, but within the specified update scope.org.apache.maven.artifact.versioning.ArtifactVersion[]VersionDetails.getAllUpdates(org.apache.maven.artifact.versioning.ArtifactVersion currentVersion, Optional<Segment> updateScope, boolean includeSnapshots) Returns the all versions newer than the specified current version, but within the specified update scope.AbstractVersionDetails.getLowerBound(org.apache.maven.artifact.versioning.ArtifactVersion version, Optional<Segment> unchangedSegment) Returns the string designation of the lower bound version based on the given artifact version and the lowest unchanged segment index (0-based); -1 means that the whole version string can be changed, implying that there is also no string designation of the lower bound version.final org.apache.maven.artifact.versioning.ArtifactVersion[]AbstractVersionDetails.getNewerVersions(String versionString, Optional<Segment> unchangedSegment, boolean includeSnapshots, boolean allowDowngrade) org.apache.maven.artifact.versioning.ArtifactVersion[]VersionDetails.getNewerVersions(String versionString, Optional<Segment> upperBoundSegment, boolean includeSnapshots, boolean allowDowngrade) Returns an array of newer versions than the given version, given the upper bound segment and whether snapshots should be included.org.apache.maven.artifact.versioning.ArtifactVersionVersionDetails.getNewestUpdateWithinSegment(Optional<Segment> updateScope, boolean includeSnapshots) Returns the newest version newer than the specified current version, only within the segment specified byupdateScopeornullif no such version exists.org.apache.maven.artifact.versioning.ArtifactVersionVersionDetails.getNewestUpdateWithinSegment(org.apache.maven.artifact.versioning.ArtifactVersion currentVersion, Optional<Segment> updateScope, boolean includeSnapshots) Returns the newest version newer than the specified current version, but within the specified update scope ornullif no such version exists.Optional<org.apache.maven.artifact.versioning.ArtifactVersion> AbstractVersionDetails.getNewestVersion(String actualVersion, Optional<Segment> unchangedSegment, boolean includeSnapshots, boolean allowDowngrade) org.apache.maven.artifact.versioning.ArtifactVersionPropertyVersions.getNewestVersion(String versionString, Property property, boolean allowSnapshots, Collection<org.apache.maven.project.MavenProject> reactorProjects, VersionsHelper helper, boolean allowDowngrade, Optional<Segment> upperBoundSegment) Retrieves the newest artifact version for the given property-denoted artifact ornullif no newer version could be found.org.apache.maven.artifact.versioning.ArtifactVersionPropertyVersions.getNewestVersion(String currentVersion, Property property, boolean allowSnapshots, List<org.apache.maven.project.MavenProject> reactorProjects, VersionsHelper helper) Optional<org.apache.maven.artifact.versioning.ArtifactVersion> VersionDetails.getNewestVersion(String versionString, Optional<Segment> unchangedSegment, boolean includeSnapshots, boolean allowDowngrade) Returns the latest version, newer than the given version, given the upper bound segment and whether snapshots should be included.org.apache.maven.artifact.versioning.RestrictionVersionDetails.restrictionForSelectedSegment(org.apache.maven.artifact.versioning.ArtifactVersion lowerBound, Optional<Segment> selectedSegment) Returns a Restriction object for computing version upgrades within the given segment allowing updates, with all more major segments locked in place, but also ignoring all version updates from lesser scopes.org.apache.maven.artifact.versioning.RestrictionAbstractVersionDetails.restrictionForUnchangedSegment(org.apache.maven.artifact.versioning.ArtifactVersion actualVersion, Optional<Segment> unchangedSegment, boolean allowDowngrade) org.apache.maven.artifact.versioning.RestrictionVersionDetails.restrictionForUnchangedSegment(org.apache.maven.artifact.versioning.ArtifactVersion lowerBound, Optional<Segment> unchangedSegment, boolean allowDowngrade) Returns a Restriction object for computing version upgrades within the all segments minor/lesser to the providedunchangedSegment. -
Uses of InvalidSegmentException in org.codehaus.mojo.versions.ordering
Methods in org.codehaus.mojo.versions.ordering that throw InvalidSegmentExceptionModifier and TypeMethodDescriptionprotected org.apache.maven.artifact.versioning.ArtifactVersionMavenVersionComparator.innerIncrementSegment(org.apache.maven.artifact.versioning.ArtifactVersion v, Segment segment) protected org.apache.maven.artifact.versioning.ArtifactVersionMercuryVersionComparator.innerIncrementSegment(org.apache.maven.artifact.versioning.ArtifactVersion v, Segment segment) Deprecated.protected org.apache.maven.artifact.versioning.ArtifactVersionNumericVersionComparator.innerIncrementSegment(org.apache.maven.artifact.versioning.ArtifactVersion v, Segment segment) Deprecated.