public interface VersionRangeResolver
Modifier and Type | Method and Description |
---|---|
org.eclipse.aether.resolution.VersionRangeResult |
resolveVersionRange(org.eclipse.aether.RepositorySystemSession session,
org.eclipse.aether.resolution.VersionRangeRequest request)
Expands a version range to a list of matching versions, in ascending order.
|
org.eclipse.aether.resolution.VersionRangeResult resolveVersionRange(org.eclipse.aether.RepositorySystemSession session, org.eclipse.aether.resolution.VersionRangeRequest request) throws org.eclipse.aether.resolution.VersionRangeResolutionException
session's version
filter
.
The supplied request may also refer to a single concrete version rather than a version range. In this case though, the result contains simply the (parsed) input version, regardless of the repositories and their contents.
session
- The repository session, must not be null
.request
- The version range request, must not be null
.null
.org.eclipse.aether.resolution.VersionRangeResolutionException
- If the requested range could not be parsed. Note that an empty range does
not raise an exception.RepositorySystem.resolveVersionRange(RepositorySystemSession, VersionRangeRequest)
Copyright © 2010–2022 The Apache Software Foundation. All rights reserved.