| 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 | 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 | Description |
|---|---|---|
VersionRangeResult |
VersionRangeResult.addException(java.lang.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(java.util.List<Version> versions) |
Sets the versions (in ascending order) matching the requested range.
|
| Constructor | Description |
|---|---|
VersionRangeResolutionException(VersionRangeResult result) |
Creates a new exception with the specified result.
|
VersionRangeResolutionException(VersionRangeResult result,
java.lang.String message) |
Creates a new exception with the specified result and detail message.
|
VersionRangeResolutionException(VersionRangeResult result,
java.lang.String message,
java.lang.Throwable cause) |
Creates a new exception with the specified result, detail message and cause.
|