|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface VersionDetails
Created by IntelliJ IDEA.
Method Summary | |
---|---|
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 |
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. |
VersionComparator |
getVersionComparator()
Gets the rule for version comparison of this artifact. |
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 lowerBound,
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 lowerBound,
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. |
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() != null . |
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)
|
Method Detail |
---|
boolean containsVersion(String version)
true
if the specific version is in the list of versions.
version
- the specific version.
true
if the specific version is in the list of versions.VersionComparator getVersionComparator()
org.apache.maven.artifact.versioning.ArtifactVersion[] getVersions()
org.apache.maven.artifact.versioning.ArtifactVersion[] getVersions(boolean includeSnapshots)
includeSnapshots
- true
if snapshots are to be included.
org.apache.maven.artifact.versioning.ArtifactVersion[] getVersions(org.apache.maven.artifact.versioning.VersionRange versionRange, boolean includeSnapshots)
versionRange
- The version range within which the version must exist.includeSnapshots
- true
if snapshots are to be included.
org.apache.maven.artifact.versioning.ArtifactVersion[] getVersions(org.apache.maven.artifact.versioning.ArtifactVersion lowerBound, org.apache.maven.artifact.versioning.ArtifactVersion upperBound)
lowerBound
- the lower bound or null
if the lower limit is unbounded.upperBound
- the upper bound or null
if the upper limit is unbounded.
org.apache.maven.artifact.versioning.ArtifactVersion[] getVersions(org.apache.maven.artifact.versioning.ArtifactVersion lowerBound, org.apache.maven.artifact.versioning.ArtifactVersion upperBound, boolean includeSnapshots)
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.
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)
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.
- Returns:
- all available versions within the specified version range.
- Since:
- 1.0-beta-1
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)
versionRange
- 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.
- Returns:
- all available versions within the specified version range.
- Since:
- 1.0-beta-1
org.apache.maven.artifact.versioning.ArtifactVersion getNewestVersion(org.apache.maven.artifact.versioning.ArtifactVersion lowerBound, org.apache.maven.artifact.versioning.ArtifactVersion upperBound)
null
if no such version exists.
lowerBound
- 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.org.apache.maven.artifact.versioning.ArtifactVersion getNewestVersion(org.apache.maven.artifact.versioning.ArtifactVersion lowerBound, org.apache.maven.artifact.versioning.ArtifactVersion upperBound, boolean includeSnapshots)
null
if no such version exists.
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.
null
if no version is
available.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)
null
if no such version exists.
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.
- Returns:
- the latest version between lowerBound and upperBound or
null
if no version is available. - Since:
- 1.0-alpha-3
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)
null
if no such version exists.
versionRange
- 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.
- Returns:
- the latest version between lowerBound and upperBound or
null
if no version is available. - Since:
- 1.0-alpha-3
org.apache.maven.artifact.versioning.ArtifactVersion getNewestVersion(org.apache.maven.artifact.versioning.VersionRange versionRange, boolean includeSnapshots)
null
if no such version exists.
versionRange
- The version range within which the version must exist.includeSnapshots
- true
if snapshots are to be included.
null
if no version is available.org.apache.maven.artifact.versioning.ArtifactVersion getOldestVersion(org.apache.maven.artifact.versioning.ArtifactVersion lowerBound, org.apache.maven.artifact.versioning.ArtifactVersion upperBound)
null
if no such version exists.
lowerBound
- 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.org.apache.maven.artifact.versioning.ArtifactVersion getOldestVersion(org.apache.maven.artifact.versioning.VersionRange versionRange, boolean includeSnapshots)
null
if no such version exists.
versionRange
- The version range within which the version must exist.includeSnapshots
- true
if snapshots are to be included.
null
if no version is
available.org.apache.maven.artifact.versioning.ArtifactVersion getOldestVersion(org.apache.maven.artifact.versioning.ArtifactVersion lowerBound, org.apache.maven.artifact.versioning.ArtifactVersion upperBound, boolean includeSnapshots)
null
if no such version exists.
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.
null
if no version is
available.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)
null
if no such version exists.
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.
- Returns:
- the oldest version between lowerBound and upperBound or
null
if no version is available. - Since:
- 1.0-beta-1
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)
null
if no such version exists.
versionRange
- 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.
- Returns:
- the oldest version between lowerBound and upperBound or
null
if no version is available. - Since:
- 1.0-beta-1
org.apache.maven.artifact.versioning.ArtifactVersion getOldestUpdate(org.apache.maven.artifact.versioning.ArtifactVersion currentVersion, UpdateScope updateScope)
null
if no such version exists.
currentVersion
- the lower bound or null
if the lower limit is unbounded.updateScope
- the update scope to include.
null
if no
version is available.org.apache.maven.artifact.versioning.ArtifactVersion getNewestUpdate(org.apache.maven.artifact.versioning.ArtifactVersion currentVersion, UpdateScope updateScope)
null
if no such version exists.
currentVersion
- the lower bound or null
if the lower limit is unbounded.updateScope
- the update scope to include.
null
if no
version is available.org.apache.maven.artifact.versioning.ArtifactVersion[] getAllUpdates(org.apache.maven.artifact.versioning.ArtifactVersion currentVersion, UpdateScope updateScope)
currentVersion
- the lower bound or null
if the lower limit is unbounded.updateScope
- the update scope to include.
org.apache.maven.artifact.versioning.ArtifactVersion getOldestUpdate(org.apache.maven.artifact.versioning.ArtifactVersion currentVersion, UpdateScope updateScope, boolean includeSnapshots)
null
if no such version exists.
currentVersion
- 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.org.apache.maven.artifact.versioning.ArtifactVersion getNewestUpdate(org.apache.maven.artifact.versioning.ArtifactVersion currentVersion, UpdateScope updateScope, boolean includeSnapshots)
null
if no such version exists.
currentVersion
- 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.org.apache.maven.artifact.versioning.ArtifactVersion[] getAllUpdates(org.apache.maven.artifact.versioning.ArtifactVersion currentVersion, UpdateScope updateScope, boolean includeSnapshots)
currentVersion
- 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.
org.apache.maven.artifact.versioning.ArtifactVersion getOldestUpdate(org.apache.maven.artifact.versioning.ArtifactVersion currentVersion, org.apache.maven.artifact.versioning.VersionRange versionRange)
null
if no such version exists.
currentVersion
- the lower bound or null
if the lower limit is unbounded.versionRange
- the version range to include.
null
if no
version is available.org.apache.maven.artifact.versioning.ArtifactVersion getNewestUpdate(org.apache.maven.artifact.versioning.ArtifactVersion currentVersion, org.apache.maven.artifact.versioning.VersionRange versionRange)
null
if no such version exists.
currentVersion
- the lower bound or null
if the lower limit is unbounded.versionRange
- the version range to include.
null
if no
version is available.org.apache.maven.artifact.versioning.ArtifactVersion[] getAllUpdates(org.apache.maven.artifact.versioning.ArtifactVersion currentVersion, org.apache.maven.artifact.versioning.VersionRange versionRange)
currentVersion
- the lower bound or null
if the lower limit is unbounded.versionRange
- the version range to include.
org.apache.maven.artifact.versioning.ArtifactVersion getOldestUpdate(org.apache.maven.artifact.versioning.ArtifactVersion currentVersion, org.apache.maven.artifact.versioning.VersionRange versionRange, boolean includeSnapshots)
null
if no such version exists.
currentVersion
- 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.org.apache.maven.artifact.versioning.ArtifactVersion getNewestUpdate(org.apache.maven.artifact.versioning.ArtifactVersion currentVersion, org.apache.maven.artifact.versioning.VersionRange versionRange, boolean includeSnapshots)
null
if no such version exists.
currentVersion
- 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.org.apache.maven.artifact.versioning.ArtifactVersion[] getAllUpdates(org.apache.maven.artifact.versioning.ArtifactVersion currentVersion, org.apache.maven.artifact.versioning.VersionRange versionRange, boolean includeSnapshots)
currentVersion
- 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.
boolean isCurrentVersionDefined()
true
if and only if getCurrentVersion() != null
.
true
if and only if getCurrentVersion() != null
.void setCurrentVersion(org.apache.maven.artifact.versioning.ArtifactVersion currentVersion)
currentVersion
- The new current version.void setCurrentVersion(String currentVersion)
currentVersion
- The new current version.boolean isIncludeSnapshots()
void setIncludeSnapshots(boolean includeSnapshots)
org.apache.maven.artifact.versioning.ArtifactVersion getCurrentVersion()
null
).org.apache.maven.artifact.versioning.ArtifactVersion getOldestUpdate(UpdateScope updateScope)
null
if no such version exists.
updateScope
- the update scope to include.
null
if no
version is available.org.apache.maven.artifact.versioning.ArtifactVersion getNewestUpdate(UpdateScope updateScope)
null
if no such version exists.
updateScope
- the update scope to include.
null
if no
version is available.org.apache.maven.artifact.versioning.ArtifactVersion[] getAllUpdates(UpdateScope updateScope)
updateScope
- the update scope to include.
org.apache.maven.artifact.versioning.ArtifactVersion getOldestUpdate(UpdateScope updateScope, boolean includeSnapshots)
null
if no such version exists.
updateScope
- the update scope to include.includeSnapshots
- true
if snapshots are to be included.
null
if no
version is available.org.apache.maven.artifact.versioning.ArtifactVersion getNewestUpdate(UpdateScope updateScope, boolean includeSnapshots)
null
if no such version exists.
updateScope
- the update scope to include.includeSnapshots
- true
if snapshots are to be included.
null
if no
version is available.org.apache.maven.artifact.versioning.ArtifactVersion[] getAllUpdates(UpdateScope updateScope, boolean includeSnapshots)
updateScope
- the update scope to include.includeSnapshots
- true
if snapshots are to be included.
org.apache.maven.artifact.versioning.ArtifactVersion getOldestUpdate(org.apache.maven.artifact.versioning.VersionRange versionRange)
null
if no such version exists.
versionRange
- the version range to include.
null
if no
version is available.org.apache.maven.artifact.versioning.ArtifactVersion getNewestUpdate(org.apache.maven.artifact.versioning.VersionRange versionRange)
null
if no such version exists.
versionRange
- the version range to include.
null
if no
version is available.org.apache.maven.artifact.versioning.ArtifactVersion[] getAllUpdates(org.apache.maven.artifact.versioning.VersionRange versionRange)
versionRange
- the version range to include.
org.apache.maven.artifact.versioning.ArtifactVersion getOldestUpdate(org.apache.maven.artifact.versioning.VersionRange versionRange, boolean includeSnapshots)
null
if no such version exists.
versionRange
- the version range to include.includeSnapshots
- true
if snapshots are to be included.
null
if no
version is available.org.apache.maven.artifact.versioning.ArtifactVersion getNewestUpdate(org.apache.maven.artifact.versioning.VersionRange versionRange, boolean includeSnapshots)
null
if no such version exists.
versionRange
- the version range to include.includeSnapshots
- true
if snapshots are to be included.
null
if no
version is available.org.apache.maven.artifact.versioning.ArtifactVersion[] getAllUpdates(org.apache.maven.artifact.versioning.VersionRange versionRange, boolean includeSnapshots)
versionRange
- the version range to include.includeSnapshots
- true
if snapshots are to be included.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |