public final class DefaultVersionFilterContext extends Object implements org.eclipse.aether.collection.VersionFilter.VersionFilterContext
VersionFilter.VersionFilterContext.
Internal helper class for collector implementations.| Constructor and Description |
|---|
DefaultVersionFilterContext(org.eclipse.aether.RepositorySystemSession session) |
| Modifier and Type | Method and Description |
|---|---|
List<org.eclipse.aether.version.Version> |
get() |
int |
getCount() |
org.eclipse.aether.graph.Dependency |
getDependency() |
List<org.eclipse.aether.repository.RemoteRepository> |
getRepositories() |
org.eclipse.aether.repository.ArtifactRepository |
getRepository(org.eclipse.aether.version.Version version) |
org.eclipse.aether.RepositorySystemSession |
getSession() |
org.eclipse.aether.version.VersionConstraint |
getVersionConstraint() |
Iterator<org.eclipse.aether.version.Version> |
iterator() |
void |
set(org.eclipse.aether.graph.Dependency dependency,
org.eclipse.aether.resolution.VersionRangeResult result) |
String |
toString() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitforEach, spliteratorpublic DefaultVersionFilterContext(org.eclipse.aether.RepositorySystemSession session)
public void set(org.eclipse.aether.graph.Dependency dependency, org.eclipse.aether.resolution.VersionRangeResult result)
public org.eclipse.aether.RepositorySystemSession getSession()
getSession in interface org.eclipse.aether.collection.VersionFilter.VersionFilterContextpublic org.eclipse.aether.graph.Dependency getDependency()
getDependency in interface org.eclipse.aether.collection.VersionFilter.VersionFilterContextpublic org.eclipse.aether.version.VersionConstraint getVersionConstraint()
getVersionConstraint in interface org.eclipse.aether.collection.VersionFilter.VersionFilterContextpublic int getCount()
getCount in interface org.eclipse.aether.collection.VersionFilter.VersionFilterContextpublic org.eclipse.aether.repository.ArtifactRepository getRepository(org.eclipse.aether.version.Version version)
getRepository in interface org.eclipse.aether.collection.VersionFilter.VersionFilterContextpublic List<org.eclipse.aether.repository.RemoteRepository> getRepositories()
getRepositories in interface org.eclipse.aether.collection.VersionFilter.VersionFilterContextCopyright © 2010–2022 The Apache Software Foundation. All rights reserved.