Class DefaultDependencyCollectionContext

java.lang.Object
org.eclipse.aether.internal.impl.collect.DefaultDependencyCollectionContext
All Implemented Interfaces:
org.eclipse.aether.collection.DependencyCollectionContext

public final class DefaultDependencyCollectionContext extends Object implements org.eclipse.aether.collection.DependencyCollectionContext
Internal helper class for collector implementations.
  • Constructor Details

    • DefaultDependencyCollectionContext

      public DefaultDependencyCollectionContext(org.eclipse.aether.RepositorySystemSession session, org.eclipse.aether.artifact.Artifact artifact, org.eclipse.aether.graph.Dependency dependency, List<org.eclipse.aether.graph.Dependency> managedDependencies)
  • Method Details

    • getSession

      public org.eclipse.aether.RepositorySystemSession getSession()
      Specified by:
      getSession in interface org.eclipse.aether.collection.DependencyCollectionContext
    • getArtifact

      public org.eclipse.aether.artifact.Artifact getArtifact()
      Specified by:
      getArtifact in interface org.eclipse.aether.collection.DependencyCollectionContext
    • getDependency

      public org.eclipse.aether.graph.Dependency getDependency()
      Specified by:
      getDependency in interface org.eclipse.aether.collection.DependencyCollectionContext
    • getManagedDependencies

      public List<org.eclipse.aether.graph.Dependency> getManagedDependencies()
      Specified by:
      getManagedDependencies in interface org.eclipse.aether.collection.DependencyCollectionContext
    • set

      public DefaultDependencyCollectionContext set(org.eclipse.aether.graph.Dependency dependency, List<org.eclipse.aether.graph.Dependency> managedDependencies)
    • toString

      public String toString()
      Overrides:
      toString in class Object