public abstract class AbstractVersionDetails extends Object implements VersionDetails
VersionDetails.| Modifier | Constructor and Description |
|---|---|
protected |
AbstractVersionDetails() |
protected |
AbstractVersionDetails(org.apache.maven.artifact.versioning.ArtifactVersion currentVersion,
boolean includeSnapshots) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
containsVersion(String version)
Returns
true if the specific version is in the list of versions. |
org.apache.maven.artifact.versioning.ArtifactVersion[] |
getAllUpdates(org.apache.maven.artifact.versioning.ArtifactVersion currentVersion,
UpdateScope updateScope)
Returns the all versions newer than the specified current version, but within the the specified update scope.
|
org.apache.maven.artifact.versioning.ArtifactVersion[] |
getAllUpdates(org.apache.maven.artifact.versioning.ArtifactVersion currentVersion,
UpdateScope updateScope,
boolean includeSnapshots)
Returns the all versions newer than the specified current version, but within the the specified update scope.
|
org.apache.maven.artifact.versioning.ArtifactVersion[] |
getAllUpdates(org.apache.maven.artifact.versioning.ArtifactVersion currentVersion,
org.apache.maven.artifact.versioning.VersionRange versionRange)
Returns the all versions newer than the specified current version, but within the the specified update scope.
|
org.apache.maven.artifact.versioning.ArtifactVersion[] |
getAllUpdates(org.apache.maven.artifact.versioning.ArtifactVersion currentVersion,
org.apache.maven.artifact.versioning.VersionRange versionRange,
boolean includeSnapshots)
Returns the all versions newer than the specified current version, but within the the specified update scope.
|
org.apache.maven.artifact.versioning.ArtifactVersion[] |
getAllUpdates(UpdateScope updateScope)
Returns the all versions newer than the specified current version, but within the the specified update scope.
|
org.apache.maven.artifact.versioning.ArtifactVersion[] |
getAllUpdates(UpdateScope updateScope,
boolean includeSnapshots)
Returns the all versions newer than the specified current version, but within the the specified update scope.
|
org.apache.maven.artifact.versioning.ArtifactVersion[] |
getAllUpdates(org.apache.maven.artifact.versioning.VersionRange versionRange)
Returns the all versions newer than the specified current version, but within the the specified update scope.
|
org.apache.maven.artifact.versioning.ArtifactVersion[] |
getAllUpdates(org.apache.maven.artifact.versioning.VersionRange versionRange,
boolean includeSnapshots)
Returns the all versions newer than the specified current version, but within the the specified update scope.
|
org.apache.maven.artifact.versioning.ArtifactVersion |
getCurrentVersion()
Retrieves the current version.
|
org.apache.maven.artifact.versioning.ArtifactVersion[] |
getNewerVersions(String version,
boolean includeSnapshots) |
org.apache.maven.artifact.versioning.ArtifactVersion[] |
getNewerVersions(String version,
int upperBoundSegment,
boolean includeSnapshots) |
org.apache.maven.artifact.versioning.ArtifactVersion |
getNewestUpdate(org.apache.maven.artifact.versioning.ArtifactVersion currentVersion,
UpdateScope updateScope)
Returns the newest version newer than the specified current version, but within the the specified update scope or
null if no such version exists. |
org.apache.maven.artifact.versioning.ArtifactVersion |
getNewestUpdate(org.apache.maven.artifact.versioning.ArtifactVersion currentVersion,
UpdateScope updateScope,
boolean includeSnapshots)
Returns the newest version newer than the specified current version, but within the the specified update scope or
null if no such version exists. |
org.apache.maven.artifact.versioning.ArtifactVersion |
getNewestUpdate(org.apache.maven.artifact.versioning.ArtifactVersion currentVersion,
org.apache.maven.artifact.versioning.VersionRange versionRange)
Returns the newest version newer than the specified current version, but within the the specified update scope or
null if no such version exists. |
org.apache.maven.artifact.versioning.ArtifactVersion |
getNewestUpdate(org.apache.maven.artifact.versioning.ArtifactVersion currentVersion,
org.apache.maven.artifact.versioning.VersionRange versionRange,
boolean includeSnapshots)
Returns the newest version newer than the specified current version, but within the the specified update scope or
null if no such version exists. |
org.apache.maven.artifact.versioning.ArtifactVersion |
getNewestUpdate(UpdateScope updateScope)
Returns the newest version newer than the specified current version, but within the the specified update scope or
null if no such version exists. |
org.apache.maven.artifact.versioning.ArtifactVersion |
getNewestUpdate(UpdateScope updateScope,
boolean includeSnapshots)
Returns the newest version newer than the specified current version, but within the the specified update scope or
null if no such version exists. |
org.apache.maven.artifact.versioning.ArtifactVersion |
getNewestUpdate(org.apache.maven.artifact.versioning.VersionRange versionRange)
Returns the newest version newer than the specified current version, but within the the specified update scope or
null if no such version exists. |
org.apache.maven.artifact.versioning.ArtifactVersion |
getNewestUpdate(org.apache.maven.artifact.versioning.VersionRange versionRange,
boolean includeSnapshots)
Returns the newest version newer than the specified current version, but within the the specified update scope or
null if no such version exists. |
org.apache.maven.artifact.versioning.ArtifactVersion |
getNewestVersion(org.apache.maven.artifact.versioning.ArtifactVersion lowerBound,
org.apache.maven.artifact.versioning.ArtifactVersion upperBound)
Returns the latest version newer than the specified lowerBound, but less than the specified upper bound or
null if no such version exists. |
org.apache.maven.artifact.versioning.ArtifactVersion |
getNewestVersion(org.apache.maven.artifact.versioning.ArtifactVersion lowerBound,
org.apache.maven.artifact.versioning.ArtifactVersion upperBound,
boolean includeSnapshots)
Returns the latest version newer than the specified lowerBound, but less than the specified upper bound or
null if no such version exists. |
org.apache.maven.artifact.versioning.ArtifactVersion |
getNewestVersion(org.apache.maven.artifact.versioning.ArtifactVersion lowerBound,
org.apache.maven.artifact.versioning.ArtifactVersion upperBound,
boolean includeSnapshots,
boolean includeLower,
boolean includeUpper)
Returns the latest version newer than the specified current version, but less than the specified upper bound or
null if no such version exists. |
org.apache.maven.artifact.versioning.ArtifactVersion |
getNewestVersion(org.apache.maven.artifact.versioning.VersionRange versionRange,
org.apache.maven.artifact.versioning.ArtifactVersion lowerBound,
org.apache.maven.artifact.versioning.ArtifactVersion upperBound,
boolean includeSnapshots,
boolean includeLower,
boolean includeUpper)
Returns the latest version newer than the specified current version, but less than the specified upper bound or
null if no such version exists. |
org.apache.maven.artifact.versioning.ArtifactVersion |
getNewestVersion(org.apache.maven.artifact.versioning.VersionRange versionRange,
boolean includeSnapshots)
Returns the latest version within the specified version range or
null if no such version exists. |
org.apache.maven.artifact.versioning.ArtifactVersion |
getOldestUpdate(org.apache.maven.artifact.versioning.ArtifactVersion currentVersion,
UpdateScope updateScope)
Returns the oldest version newer than the specified current version, but within the the specified update scope or
null if no such version exists. |
org.apache.maven.artifact.versioning.ArtifactVersion |
getOldestUpdate(org.apache.maven.artifact.versioning.ArtifactVersion currentVersion,
UpdateScope updateScope,
boolean includeSnapshots)
Returns the oldest version newer than the specified current version, but within the the specified update scope or
null if no such version exists. |
org.apache.maven.artifact.versioning.ArtifactVersion |
getOldestUpdate(org.apache.maven.artifact.versioning.ArtifactVersion currentVersion,
org.apache.maven.artifact.versioning.VersionRange versionRange)
Returns the oldest version newer than the specified current version, but within the the specified update scope or
null if no such version exists. |
org.apache.maven.artifact.versioning.ArtifactVersion |
getOldestUpdate(org.apache.maven.artifact.versioning.ArtifactVersion currentVersion,
org.apache.maven.artifact.versioning.VersionRange versionRange,
boolean includeSnapshots)
Returns the oldest version newer than the specified current version, but within the the specified update scope or
null if no such version exists. |
org.apache.maven.artifact.versioning.ArtifactVersion |
getOldestUpdate(UpdateScope updateScope)
Returns the oldest version newer than the current version, but within the the specified update scope or
null if no such version exists. |
org.apache.maven.artifact.versioning.ArtifactVersion |
getOldestUpdate(UpdateScope updateScope,
boolean includeSnapshots)
Returns the oldest version newer than the specified current version, but within the the specified update scope or
null if no such version exists. |
org.apache.maven.artifact.versioning.ArtifactVersion |
getOldestUpdate(org.apache.maven.artifact.versioning.VersionRange versionRange)
Returns the oldest version newer than the current version, but within the the specified update scope or
null if no such version exists. |
org.apache.maven.artifact.versioning.ArtifactVersion |
getOldestUpdate(org.apache.maven.artifact.versioning.VersionRange versionRange,
boolean includeSnapshots)
Returns the oldest version newer than the specified current version, but within the the specified update scope or
null if no such version exists. |
org.apache.maven.artifact.versioning.ArtifactVersion |
getOldestVersion(org.apache.maven.artifact.versioning.ArtifactVersion lowerBound,
org.apache.maven.artifact.versioning.ArtifactVersion upperBound)
Returns the oldest version after the specified lowerBound, but less than the specified upper bound or
null if no such version exists. |
org.apache.maven.artifact.versioning.ArtifactVersion |
getOldestVersion(org.apache.maven.artifact.versioning.ArtifactVersion lowerBound,
org.apache.maven.artifact.versioning.ArtifactVersion upperBound,
boolean includeSnapshots)
Returns the oldest version newer than the specified lower bound, but less than the specified upper bound or
null if no such version exists. |
org.apache.maven.artifact.versioning.ArtifactVersion |
getOldestVersion(org.apache.maven.artifact.versioning.ArtifactVersion lowerBound,
org.apache.maven.artifact.versioning.ArtifactVersion upperBound,
boolean includeSnapshots,
boolean includeLower,
boolean includeUpper)
Returns the oldest version within the specified bounds or
null if no such version exists. |
org.apache.maven.artifact.versioning.ArtifactVersion |
getOldestVersion(org.apache.maven.artifact.versioning.VersionRange versionRange,
org.apache.maven.artifact.versioning.ArtifactVersion lowerBound,
org.apache.maven.artifact.versioning.ArtifactVersion upperBound,
boolean includeSnapshots,
boolean includeLower,
boolean includeUpper)
Returns the oldest version within the specified bounds or
null if no such version exists. |
org.apache.maven.artifact.versioning.ArtifactVersion |
getOldestVersion(org.apache.maven.artifact.versioning.VersionRange versionRange,
boolean includeSnapshots)
Returns the oldest version within the specified version range or
null if no such version exists. |
org.apache.maven.artifact.versioning.ArtifactVersion[] |
getVersions()
Returns all the available versions in increasing order.
|
org.apache.maven.artifact.versioning.ArtifactVersion[] |
getVersions(org.apache.maven.artifact.versioning.ArtifactVersion currentVersion,
org.apache.maven.artifact.versioning.ArtifactVersion upperBound)
Returns all available versions within the specified bounds.
|
org.apache.maven.artifact.versioning.ArtifactVersion[] |
getVersions(org.apache.maven.artifact.versioning.ArtifactVersion currentVersion,
org.apache.maven.artifact.versioning.ArtifactVersion upperBound,
boolean includeSnapshots)
Returns all available versions within the specified bounds.
|
org.apache.maven.artifact.versioning.ArtifactVersion[] |
getVersions(org.apache.maven.artifact.versioning.ArtifactVersion lowerBound,
org.apache.maven.artifact.versioning.ArtifactVersion upperBound,
boolean includeSnapshots,
boolean includeLower,
boolean includeUpper)
Returns all available versions within the specified bounds.
|
abstract org.apache.maven.artifact.versioning.ArtifactVersion[] |
getVersions(boolean includeSnapshots)
Returns all available versions in increasing order.
|
org.apache.maven.artifact.versioning.ArtifactVersion[] |
getVersions(org.apache.maven.artifact.versioning.VersionRange versionRange,
org.apache.maven.artifact.versioning.ArtifactVersion lowerBound,
org.apache.maven.artifact.versioning.ArtifactVersion upperBound,
boolean includeSnapshots,
boolean includeLower,
boolean includeUpper)
Returns all available versions within the specified bounds.
|
org.apache.maven.artifact.versioning.ArtifactVersion[] |
getVersions(org.apache.maven.artifact.versioning.VersionRange versionRange,
boolean includeSnapshots)
Returns all available versions within the specified version range.
|
boolean |
isCurrentVersionDefined()
Returns
true if and only if getCurrentVersion() ! |
boolean |
isIncludeSnapshots() |
void |
setCurrentVersion(org.apache.maven.artifact.versioning.ArtifactVersion currentVersion)
Sets the current version.
|
void |
setCurrentVersion(String currentVersion)
Sets the current version.
|
void |
setIncludeSnapshots(boolean includeSnapshots) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetVersionComparatorprotected AbstractVersionDetails()
protected AbstractVersionDetails(org.apache.maven.artifact.versioning.ArtifactVersion currentVersion,
boolean includeSnapshots)
public final boolean isCurrentVersionDefined()
VersionDetailstrue if and only if getCurrentVersion() != null.isCurrentVersionDefined in interface VersionDetailstrue if and only if getCurrentVersion() != null.public final org.apache.maven.artifact.versioning.ArtifactVersion getCurrentVersion()
VersionDetailsgetCurrentVersion in interface VersionDetailsnull).public final void setCurrentVersion(org.apache.maven.artifact.versioning.ArtifactVersion currentVersion)
VersionDetailssetCurrentVersion in interface VersionDetailscurrentVersion - The new current version.public final void setCurrentVersion(String currentVersion)
VersionDetailssetCurrentVersion in interface VersionDetailscurrentVersion - The new current version.public final boolean isIncludeSnapshots()
isIncludeSnapshots in interface VersionDetailspublic final void setIncludeSnapshots(boolean includeSnapshots)
setIncludeSnapshots in interface VersionDetailspublic final org.apache.maven.artifact.versioning.ArtifactVersion[] getVersions()
VersionDetailsgetVersions in interface VersionDetailspublic abstract org.apache.maven.artifact.versioning.ArtifactVersion[] getVersions(boolean includeSnapshots)
VersionDetailsgetVersions in interface VersionDetailsincludeSnapshots - true if snapshots are to be included.public final org.apache.maven.artifact.versioning.ArtifactVersion[] getVersions(org.apache.maven.artifact.versioning.VersionRange versionRange,
boolean includeSnapshots)
VersionDetailsgetVersions in interface VersionDetailsversionRange - The version range within which the version must exist.includeSnapshots - true if snapshots are to be included.public final org.apache.maven.artifact.versioning.ArtifactVersion[] getVersions(org.apache.maven.artifact.versioning.ArtifactVersion currentVersion,
org.apache.maven.artifact.versioning.ArtifactVersion upperBound)
VersionDetailsgetVersions in interface VersionDetailscurrentVersion - the lower bound or null if the lower limit is unbounded.upperBound - the upper bound or null if the upper limit is unbounded.public final org.apache.maven.artifact.versioning.ArtifactVersion[] getVersions(org.apache.maven.artifact.versioning.ArtifactVersion currentVersion,
org.apache.maven.artifact.versioning.ArtifactVersion upperBound,
boolean includeSnapshots)
VersionDetailsgetVersions in interface VersionDetailscurrentVersion - the lower bound or null if the lower limit is unbounded.upperBound - the upper bound or null if the upper limit is unbounded.includeSnapshots - true if snapshots are to be included.public final org.apache.maven.artifact.versioning.ArtifactVersion getNewestVersion(org.apache.maven.artifact.versioning.ArtifactVersion lowerBound,
org.apache.maven.artifact.versioning.ArtifactVersion upperBound)
VersionDetailsnull if no such version exists.getNewestVersion in interface VersionDetailslowerBound - the lower bound or null if the lower limit is unbounded.upperBound - the upper bound or null if the upper limit is unbounded.null if no version is available.public final org.apache.maven.artifact.versioning.ArtifactVersion getNewestVersion(org.apache.maven.artifact.versioning.ArtifactVersion lowerBound,
org.apache.maven.artifact.versioning.ArtifactVersion upperBound,
boolean includeSnapshots)
VersionDetailsnull if no such version exists.getNewestVersion in interface VersionDetailslowerBound - the lower bound or null if the lower limit is unbounded.upperBound - the upper bound or null if the upper limit is unbounded.includeSnapshots - true if snapshots are to be included.null if no version is
available.public final org.apache.maven.artifact.versioning.ArtifactVersion getNewestVersion(org.apache.maven.artifact.versioning.VersionRange versionRange,
org.apache.maven.artifact.versioning.ArtifactVersion lowerBound,
org.apache.maven.artifact.versioning.ArtifactVersion upperBound,
boolean includeSnapshots,
boolean includeLower,
boolean includeUpper)
VersionDetailsnull if no such version exists.getNewestVersion in interface VersionDetailsversionRange - The version range within which the version must exist where null imples
[,).lowerBound - the lower bound or null if the lower limit is unbounded.upperBound - the upper bound or null if the upper limit is unbounded.includeSnapshots - true if snapshots are to be included.includeLower - true if the lower bound is inclusive.includeUpper - true> if the upper bound is inclusive.null if no version is available.public final org.apache.maven.artifact.versioning.ArtifactVersion getNewestVersion(org.apache.maven.artifact.versioning.ArtifactVersion lowerBound,
org.apache.maven.artifact.versioning.ArtifactVersion upperBound,
boolean includeSnapshots,
boolean includeLower,
boolean includeUpper)
VersionDetailsnull if no such version exists.getNewestVersion in interface VersionDetailslowerBound - the lower bound or null if the lower limit is unbounded.upperBound - the upper bound or null if the upper limit is unbounded.includeSnapshots - true if snapshots are to be included.includeLower - true if the lower bound is inclusive.includeUpper - true> if the upper bound is inclusive.null if no version is available.public final org.apache.maven.artifact.versioning.ArtifactVersion getNewestVersion(org.apache.maven.artifact.versioning.VersionRange versionRange,
boolean includeSnapshots)
VersionDetailsnull if no such version exists.getNewestVersion in interface VersionDetailsversionRange - The version range within which the version must exist.includeSnapshots - true if snapshots are to be included.null if no version is available.public final boolean containsVersion(String version)
VersionDetailstrue if the specific version is in the list of versions.containsVersion in interface VersionDetailsversion - the specific version.true if the specific version is in the list of versions.public final org.apache.maven.artifact.versioning.ArtifactVersion[] getNewerVersions(String version, boolean includeSnapshots)
public final org.apache.maven.artifact.versioning.ArtifactVersion[] getNewerVersions(String version, int upperBoundSegment, boolean includeSnapshots)
public final org.apache.maven.artifact.versioning.ArtifactVersion getOldestVersion(org.apache.maven.artifact.versioning.ArtifactVersion lowerBound,
org.apache.maven.artifact.versioning.ArtifactVersion upperBound)
VersionDetailsnull if no such version exists.getOldestVersion in interface VersionDetailslowerBound - the lower bound or null if the lower limit is unbounded.upperBound - the upper bound or null if the upper limit is unbounded.null if no version is available.public final org.apache.maven.artifact.versioning.ArtifactVersion getOldestVersion(org.apache.maven.artifact.versioning.VersionRange versionRange,
boolean includeSnapshots)
VersionDetailsnull if no such version exists.getOldestVersion in interface VersionDetailsversionRange - The version range within which the version must exist.includeSnapshots - true if snapshots are to be included.null if no version is
available.public final org.apache.maven.artifact.versioning.ArtifactVersion getOldestVersion(org.apache.maven.artifact.versioning.ArtifactVersion lowerBound,
org.apache.maven.artifact.versioning.ArtifactVersion upperBound,
boolean includeSnapshots)
VersionDetailsnull if no such version exists.getOldestVersion in interface VersionDetailslowerBound - the lower bound or null if the lower limit is unbounded.upperBound - the upper bound or null if the upper limit is unbounded.includeSnapshots - true if snapshots are to be included.null if no version is
available.public final org.apache.maven.artifact.versioning.ArtifactVersion getOldestVersion(org.apache.maven.artifact.versioning.ArtifactVersion lowerBound,
org.apache.maven.artifact.versioning.ArtifactVersion upperBound,
boolean includeSnapshots,
boolean includeLower,
boolean includeUpper)
VersionDetailsnull if no such version exists.getOldestVersion in interface VersionDetailslowerBound - the lower bound or null if the lower limit is unbounded.upperBound - the upper bound or null if the upper limit is unbounded.includeSnapshots - true if snapshots are to be included.includeLower - true if the lower bound is inclusive.includeUpper - true> if the upper bound is inclusive.null if no version is available.public final org.apache.maven.artifact.versioning.ArtifactVersion getOldestVersion(org.apache.maven.artifact.versioning.VersionRange versionRange,
org.apache.maven.artifact.versioning.ArtifactVersion lowerBound,
org.apache.maven.artifact.versioning.ArtifactVersion upperBound,
boolean includeSnapshots,
boolean includeLower,
boolean includeUpper)
VersionDetailsnull if no such version exists.getOldestVersion in interface VersionDetailsversionRange - The version range within which the version must exist where null imples
[,).lowerBound - the lower bound or null if the lower limit is unbounded.upperBound - the upper bound or null if the upper limit is unbounded.includeSnapshots - true if snapshots are to be included.includeLower - true if the lower bound is inclusive.includeUpper - true> if the upper bound is inclusive.null if no version is available.public final org.apache.maven.artifact.versioning.ArtifactVersion[] getVersions(org.apache.maven.artifact.versioning.ArtifactVersion lowerBound,
org.apache.maven.artifact.versioning.ArtifactVersion upperBound,
boolean includeSnapshots,
boolean includeLower,
boolean includeUpper)
VersionDetailsgetVersions in interface VersionDetailslowerBound - the lower bound or null if the lower limit is unbounded.upperBound - the upper bound or null if the upper limit is unbounded.includeSnapshots - true if snapshots are to be included.includeLower - true if the lower bound is inclusive.includeUpper - true> if the upper bound is inclusive.public final org.apache.maven.artifact.versioning.ArtifactVersion[] getVersions(org.apache.maven.artifact.versioning.VersionRange versionRange,
org.apache.maven.artifact.versioning.ArtifactVersion lowerBound,
org.apache.maven.artifact.versioning.ArtifactVersion upperBound,
boolean includeSnapshots,
boolean includeLower,
boolean includeUpper)
VersionDetailsgetVersions in interface VersionDetailsversionRange - The version range within which the version must exist where null imples
[,).lowerBound - the lower bound or null if the lower limit is unbounded.upperBound - the upper bound or null if the upper limit is unbounded.includeSnapshots - true if snapshots are to be included.includeLower - true if the lower bound is inclusive.includeUpper - true> if the upper bound is inclusive.public final org.apache.maven.artifact.versioning.ArtifactVersion getOldestUpdate(org.apache.maven.artifact.versioning.ArtifactVersion currentVersion,
UpdateScope updateScope)
VersionDetailsnull if no such version exists.getOldestUpdate in interface VersionDetailscurrentVersion - the lower bound or null if the lower limit is unbounded.updateScope - the update scope to include.null if no
version is available.public final org.apache.maven.artifact.versioning.ArtifactVersion getNewestUpdate(org.apache.maven.artifact.versioning.ArtifactVersion currentVersion,
UpdateScope updateScope)
VersionDetailsnull if no such version exists.getNewestUpdate in interface VersionDetailscurrentVersion - the lower bound or null if the lower limit is unbounded.updateScope - the update scope to include.null if no
version is available.public final org.apache.maven.artifact.versioning.ArtifactVersion[] getAllUpdates(org.apache.maven.artifact.versioning.ArtifactVersion currentVersion,
UpdateScope updateScope)
VersionDetailsgetAllUpdates in interface VersionDetailscurrentVersion - the lower bound or null if the lower limit is unbounded.updateScope - the update scope to include.public org.apache.maven.artifact.versioning.ArtifactVersion getOldestUpdate(org.apache.maven.artifact.versioning.ArtifactVersion currentVersion,
org.apache.maven.artifact.versioning.VersionRange versionRange)
VersionDetailsnull if no such version exists.getOldestUpdate in interface VersionDetailscurrentVersion - the lower bound or null if the lower limit is unbounded.versionRange - the version range to include.null if no
version is available.public org.apache.maven.artifact.versioning.ArtifactVersion getNewestUpdate(org.apache.maven.artifact.versioning.ArtifactVersion currentVersion,
org.apache.maven.artifact.versioning.VersionRange versionRange)
VersionDetailsnull if no such version exists.getNewestUpdate in interface VersionDetailscurrentVersion - the lower bound or null if the lower limit is unbounded.versionRange - the version range to include.null if no
version is available.public org.apache.maven.artifact.versioning.ArtifactVersion[] getAllUpdates(org.apache.maven.artifact.versioning.ArtifactVersion currentVersion,
org.apache.maven.artifact.versioning.VersionRange versionRange)
VersionDetailsgetAllUpdates in interface VersionDetailscurrentVersion - the lower bound or null if the lower limit is unbounded.versionRange - the version range to include.public final org.apache.maven.artifact.versioning.ArtifactVersion getOldestUpdate(org.apache.maven.artifact.versioning.ArtifactVersion currentVersion,
UpdateScope updateScope,
boolean includeSnapshots)
VersionDetailsnull if no such version exists.getOldestUpdate in interface VersionDetailscurrentVersion - the lower bound or null if the lower limit is unbounded.updateScope - the update scope to include.includeSnapshots - true if snapshots are to be included.null if no
version is available.public final org.apache.maven.artifact.versioning.ArtifactVersion getNewestUpdate(org.apache.maven.artifact.versioning.ArtifactVersion currentVersion,
UpdateScope updateScope,
boolean includeSnapshots)
VersionDetailsnull if no such version exists.getNewestUpdate in interface VersionDetailscurrentVersion - the lower bound or null if the lower limit is unbounded.updateScope - the update scope to include.includeSnapshots - true if snapshots are to be included.null if no
version is available.public final org.apache.maven.artifact.versioning.ArtifactVersion[] getAllUpdates(org.apache.maven.artifact.versioning.ArtifactVersion currentVersion,
UpdateScope updateScope,
boolean includeSnapshots)
VersionDetailsgetAllUpdates in interface VersionDetailscurrentVersion - the lower bound or null if the lower limit is unbounded.updateScope - the update scope to include.includeSnapshots - true if snapshots are to be included.public org.apache.maven.artifact.versioning.ArtifactVersion getOldestUpdate(org.apache.maven.artifact.versioning.ArtifactVersion currentVersion,
org.apache.maven.artifact.versioning.VersionRange versionRange,
boolean includeSnapshots)
VersionDetailsnull if no such version exists.getOldestUpdate in interface VersionDetailscurrentVersion - the lower bound or null if the lower limit is unbounded.versionRange - the version range to include.includeSnapshots - true if snapshots are to be included.null if no
version is available.public org.apache.maven.artifact.versioning.ArtifactVersion getNewestUpdate(org.apache.maven.artifact.versioning.ArtifactVersion currentVersion,
org.apache.maven.artifact.versioning.VersionRange versionRange,
boolean includeSnapshots)
VersionDetailsnull if no such version exists.getNewestUpdate in interface VersionDetailscurrentVersion - the lower bound or null if the lower limit is unbounded.versionRange - the version range to include.includeSnapshots - true if snapshots are to be included.null if no
version is available.public org.apache.maven.artifact.versioning.ArtifactVersion[] getAllUpdates(org.apache.maven.artifact.versioning.ArtifactVersion currentVersion,
org.apache.maven.artifact.versioning.VersionRange versionRange,
boolean includeSnapshots)
VersionDetailsgetAllUpdates in interface VersionDetailscurrentVersion - the lower bound or null if the lower limit is unbounded.versionRange - the version range to include.includeSnapshots - true if snapshots are to be included.public final org.apache.maven.artifact.versioning.ArtifactVersion getOldestUpdate(UpdateScope updateScope)
VersionDetailsnull if no such version exists.getOldestUpdate in interface VersionDetailsupdateScope - the update scope to include.null if no
version is available.public final org.apache.maven.artifact.versioning.ArtifactVersion getNewestUpdate(UpdateScope updateScope)
VersionDetailsnull if no such version exists.getNewestUpdate in interface VersionDetailsupdateScope - the update scope to include.null if no
version is available.public final org.apache.maven.artifact.versioning.ArtifactVersion[] getAllUpdates(UpdateScope updateScope)
VersionDetailsgetAllUpdates in interface VersionDetailsupdateScope - the update scope to include.public final org.apache.maven.artifact.versioning.ArtifactVersion getOldestUpdate(UpdateScope updateScope, boolean includeSnapshots)
VersionDetailsnull if no such version exists.getOldestUpdate in interface VersionDetailsupdateScope - the update scope to include.includeSnapshots - true if snapshots are to be included.null if no
version is available.public final org.apache.maven.artifact.versioning.ArtifactVersion getNewestUpdate(UpdateScope updateScope, boolean includeSnapshots)
VersionDetailsnull if no such version exists.getNewestUpdate in interface VersionDetailsupdateScope - the update scope to include.includeSnapshots - true if snapshots are to be included.null if no
version is available.public final org.apache.maven.artifact.versioning.ArtifactVersion[] getAllUpdates(UpdateScope updateScope, boolean includeSnapshots)
VersionDetailsgetAllUpdates in interface VersionDetailsupdateScope - the update scope to include.includeSnapshots - true if snapshots are to be included.public final org.apache.maven.artifact.versioning.ArtifactVersion getOldestUpdate(org.apache.maven.artifact.versioning.VersionRange versionRange)
VersionDetailsnull if no such version exists.getOldestUpdate in interface VersionDetailsversionRange - the version range to include.null if no
version is available.public final org.apache.maven.artifact.versioning.ArtifactVersion getNewestUpdate(org.apache.maven.artifact.versioning.VersionRange versionRange)
VersionDetailsnull if no such version exists.getNewestUpdate in interface VersionDetailsversionRange - the version range to include.null if no
version is available.public final org.apache.maven.artifact.versioning.ArtifactVersion[] getAllUpdates(org.apache.maven.artifact.versioning.VersionRange versionRange)
VersionDetailsgetAllUpdates in interface VersionDetailsversionRange - the version range to include.public org.apache.maven.artifact.versioning.ArtifactVersion getOldestUpdate(org.apache.maven.artifact.versioning.VersionRange versionRange,
boolean includeSnapshots)
VersionDetailsnull if no such version exists.getOldestUpdate in interface VersionDetailsversionRange - the version range to include.includeSnapshots - true if snapshots are to be included.null if no
version is available.public org.apache.maven.artifact.versioning.ArtifactVersion getNewestUpdate(org.apache.maven.artifact.versioning.VersionRange versionRange,
boolean includeSnapshots)
VersionDetailsnull if no such version exists.getNewestUpdate in interface VersionDetailsversionRange - the version range to include.includeSnapshots - true if snapshots are to be included.null if no
version is available.public org.apache.maven.artifact.versioning.ArtifactVersion[] getAllUpdates(org.apache.maven.artifact.versioning.VersionRange versionRange,
boolean includeSnapshots)
VersionDetailsgetAllUpdates in interface VersionDetailsversionRange - the version range to include.includeSnapshots - true if snapshots are to be included.Copyright © 2008-2014. All Rights Reserved.