Package | Description |
---|---|
org.eclipse.aether |
The primary API of the
RepositorySystem and its functionality. |
org.eclipse.aether.resolution |
The types supporting the resolution of artifacts and metadata from repositories.
|
Modifier and Type | Method and Description |
---|---|
VersionRangeResult |
RepositorySystem.resolveVersionRange(RepositorySystemSession session,
VersionRangeRequest request)
Expands a version range to a list of matching versions, in ascending order.
|
Modifier and Type | Method and Description |
---|---|
VersionRangeResult |
VersionRangeResult.addException(Exception exception)
Records the specified exception while resolving the version range.
|
VersionRangeResult |
VersionRangeResult.addVersion(Version version)
Adds the specified version to the result.
|
VersionRangeResult |
VersionRangeResolutionException.getResult()
Gets the version range result at the point the exception occurred.
|
VersionRangeResult |
VersionRangeResult.setRepository(Version version,
ArtifactRepository repository)
Records the repository from which the specified version was resolved
|
VersionRangeResult |
VersionRangeResult.setVersionConstraint(VersionConstraint versionConstraint)
Sets the version constraint that was parsed from the artifact's version string.
|
VersionRangeResult |
VersionRangeResult.setVersions(List<Version> versions)
Sets the versions (in ascending order) matching the requested range.
|
Constructor and Description |
---|
VersionRangeResolutionException(VersionRangeResult result)
Creates a new exception with the specified result.
|
VersionRangeResolutionException(VersionRangeResult result,
String message)
Creates a new exception with the specified result and detail message.
|
VersionRangeResolutionException(VersionRangeResult result,
String message,
Throwable cause)
Creates a new exception with the specified result, detail message and cause.
|
Copyright © 2010–2017 The Apache Software Foundation. All rights reserved.