Class DefaultVersionFilterContext
java.lang.Object
org.eclipse.aether.internal.impl.collect.DefaultVersionFilterContext
- All Implemented Interfaces:
Iterable<org.eclipse.aether.version.Version>
,org.eclipse.aether.collection.VersionFilter.VersionFilterContext
public final class DefaultVersionFilterContext
extends Object
implements org.eclipse.aether.collection.VersionFilter.VersionFilterContext
Default implementation of
VersionFilter.VersionFilterContext
.
Internal helper class for collector implementations.-
Constructor Summary
ConstructorDescriptionDefaultVersionFilterContext
(org.eclipse.aether.RepositorySystemSession session) -
Method Summary
Modifier and TypeMethodDescriptionList
<org.eclipse.aether.version.Version> get()
int
getCount()
org.eclipse.aether.graph.Dependency
List
<org.eclipse.aether.repository.RemoteRepository> org.eclipse.aether.repository.ArtifactRepository
getRepository
(org.eclipse.aether.version.Version version) org.eclipse.aether.RepositorySystemSession
org.eclipse.aether.version.VersionConstraint
Iterator
<org.eclipse.aether.version.Version> iterator()
void
set
(org.eclipse.aether.graph.Dependency dependency, org.eclipse.aether.resolution.VersionRangeResult result) toString()
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface java.lang.Iterable
forEach, spliterator
-
Constructor Details
-
DefaultVersionFilterContext
-
-
Method Details
-
set
public void set(org.eclipse.aether.graph.Dependency dependency, org.eclipse.aether.resolution.VersionRangeResult result) -
get
-
getSession
- Specified by:
getSession
in interfaceorg.eclipse.aether.collection.VersionFilter.VersionFilterContext
-
getDependency
- Specified by:
getDependency
in interfaceorg.eclipse.aether.collection.VersionFilter.VersionFilterContext
-
getVersionConstraint
- Specified by:
getVersionConstraint
in interfaceorg.eclipse.aether.collection.VersionFilter.VersionFilterContext
-
getCount
- Specified by:
getCount
in interfaceorg.eclipse.aether.collection.VersionFilter.VersionFilterContext
-
getRepository
public org.eclipse.aether.repository.ArtifactRepository getRepository(org.eclipse.aether.version.Version version) - Specified by:
getRepository
in interfaceorg.eclipse.aether.collection.VersionFilter.VersionFilterContext
-
getRepositories
- Specified by:
getRepositories
in interfaceorg.eclipse.aether.collection.VersionFilter.VersionFilterContext
-
iterator
-
toString
-