public interface VersionRangeResolver
Modifier and Type | Method and Description |
---|---|
VersionRangeResult |
resolveVersionRange(RepositorySystemSession session,
VersionRangeRequest request)
Expands a version range to a list of matching versions, in ascending order.
|
VersionRangeResult resolveVersionRange(RepositorySystemSession session, VersionRangeRequest request) throws 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
.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–2018 The Apache Software Foundation. All rights reserved.