Uses of Class
org.eclipse.aether.resolution.VersionRangeResult
Package
Description
The primary API of the
RepositorySystem
and its functionality.The types supporting the resolution of artifacts and metadata from repositories.
-
Uses of VersionRangeResult in org.eclipse.aether
Modifier and TypeMethodDescriptionRepositorySystem.resolveVersionRange
(RepositorySystemSession session, VersionRangeRequest request) Expands an artifact's version range to a list of matching versions, in ascending order. -
Uses of VersionRangeResult in org.eclipse.aether.resolution
Modifier and TypeMethodDescriptionVersionRangeResult.addException
(Exception exception) Records the specified exception while resolving the version range.VersionRangeResult.addVersion
(Version version) Adds the specified version to the result.VersionRangeResolutionException.getResult()
Gets the version range result at the point the exception occurred.VersionRangeResult.setRepository
(Version version, ArtifactRepository repository) Records the repository from which the specified version was resolvedVersionRangeResult.setVersionConstraint
(VersionConstraint versionConstraint) Sets the version constraint that was parsed from the artifact's version string.VersionRangeResult.setVersions
(List<Version> versions) Sets the versions (in ascending order) matching the requested range.ModifierConstructorDescriptionCreates 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.