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 Details

  • Method Details

    • set

      public void set(org.eclipse.aether.graph.Dependency dependency, org.eclipse.aether.resolution.VersionRangeResult result)
    • get

      public List<org.eclipse.aether.version.Version> get()
    • getSession

      public org.eclipse.aether.RepositorySystemSession getSession()
      Specified by:
      getSession in interface org.eclipse.aether.collection.VersionFilter.VersionFilterContext
    • getDependency

      public org.eclipse.aether.graph.Dependency getDependency()
      Specified by:
      getDependency in interface org.eclipse.aether.collection.VersionFilter.VersionFilterContext
    • getVersionConstraint

      public org.eclipse.aether.version.VersionConstraint getVersionConstraint()
      Specified by:
      getVersionConstraint in interface org.eclipse.aether.collection.VersionFilter.VersionFilterContext
    • getCount

      public int getCount()
      Specified by:
      getCount in interface org.eclipse.aether.collection.VersionFilter.VersionFilterContext
    • getRepository

      public org.eclipse.aether.repository.ArtifactRepository getRepository(org.eclipse.aether.version.Version version)
      Specified by:
      getRepository in interface org.eclipse.aether.collection.VersionFilter.VersionFilterContext
    • getRepositories

      public List<org.eclipse.aether.repository.RemoteRepository> getRepositories()
      Specified by:
      getRepositories in interface org.eclipse.aether.collection.VersionFilter.VersionFilterContext
    • iterator

      public Iterator<org.eclipse.aether.version.Version> iterator()
      Specified by:
      iterator in interface Iterable<org.eclipse.aether.version.Version>
      Specified by:
      iterator in interface org.eclipse.aether.collection.VersionFilter.VersionFilterContext
    • toString

      public String toString()
      Overrides:
      toString in class Object