Modifier and Type | Method and Description |
---|---|
Version |
DependencyNode.getVersion()
Gets the version that was selected for the dependency's target artifact.
|
Modifier and Type | Method and Description |
---|---|
Version |
VersionRangeResult.getHighestVersion()
Gets the highest version matching the requested range.
|
Version |
VersionRangeResult.getLowestVersion()
Gets the lowest version matching the requested range.
|
Modifier and Type | Method and Description |
---|---|
List<Version> |
VersionRangeResult.getVersions()
Gets the versions (in ascending order) that matched the requested range.
|
Modifier and Type | Method and Description |
---|---|
VersionRangeResult |
VersionRangeResult.addVersion(Version version)
Adds the specified version to the result.
|
ArtifactRepository |
VersionRangeResult.getRepository(Version version)
Gets the repository from which the specified version was resolved.
|
VersionRangeResult |
VersionRangeResult.setRepository(Version version,
ArtifactRepository repository)
Records the repository from which the specified version was resolved
|
Modifier and Type | Method and Description |
---|---|
VersionRangeResult |
VersionRangeResult.setVersions(List<Version> versions)
Sets the versions (in ascending order) matching the requested range.
|
Modifier and Type | Class and Description |
---|---|
class |
StubVersion
Version ordering by
String.compareToIgnoreCase(String) . |
Modifier and Type | Method and Description |
---|---|
Version |
TestDependencyNode.getVersion() |
Version |
TestVersionScheme.parseVersion(String version) |
Modifier and Type | Method and Description |
---|---|
int |
StubVersion.compareTo(Version o) |
void |
TestDependencyNode.setVersion(Version version) |
Modifier and Type | Method and Description |
---|---|
Version |
DefaultDependencyNode.getVersion() |
Modifier and Type | Method and Description |
---|---|
void |
DefaultDependencyNode.setVersion(Version version) |
Modifier and Type | Method and Description |
---|---|
Version |
GenericVersionScheme.parseVersion(String version) |
Modifier and Type | Method and Description |
---|---|
Version |
VersionConstraint.getVersion()
Gets the version recommended by this constraint.
|
Version |
VersionScheme.parseVersion(String version)
Parses the specified version string, for example "1.0".
|
Modifier and Type | Method and Description |
---|---|
boolean |
VersionConstraint.containsVersion(Version version)
Determines whether the specified version satisfies this constraint.
|
boolean |
VersionRange.containsVersion(Version version)
Determines whether the specified version is contained within this range.
|
Copyright © 2010-2012 Sonatype, Inc.. All Rights Reserved.