java.lang.Iterable<Version>public static interface VersionFilter.VersionFilterContext extends java.lang.Iterable<Version>
| Modifier and Type | Method | Description |
|---|---|---|
int |
getCount() |
Gets the total number of available versions.
|
Dependency |
getDependency() |
Gets the dependency whose version range is being filtered.
|
java.util.List<RemoteRepository> |
getRepositories() |
Gets the remote repositories from which the versions were resolved.
|
ArtifactRepository |
getRepository(Version version) |
Gets the repository from which the specified version was resolved.
|
RepositorySystemSession |
getSession() |
Gets the repository system session during which the version filtering happens.
|
VersionConstraint |
getVersionConstraint() |
Gets the version constraint that was parsed from the dependency's version string.
|
java.util.Iterator<Version> |
iterator() |
Gets an iterator over the available versions of the dependency.
|
RepositorySystemSession getSession()
null.Dependency getDependency()
null.int getCount()
java.util.Iterator<Version> iterator()
Iterator.remove() to exclude a version from further consideration in the dependency graph.iterator in interface java.lang.Iterable<Version>null.VersionConstraint getVersionConstraint()
null.ArtifactRepository getRepository(Version version)
version - The version whose source repository should be retrieved, must not be null.null if unknown.java.util.List<RemoteRepository> getRepositories()
null.