Class StaticDependencyTraverser

java.lang.Object
org.eclipse.aether.util.graph.traverser.StaticDependencyTraverser
All Implemented Interfaces:
org.eclipse.aether.collection.DependencyTraverser

public final class StaticDependencyTraverser extends Object implements org.eclipse.aether.collection.DependencyTraverser
A dependency traverser which always or never traverses children.
  • Constructor Details

    • StaticDependencyTraverser

      public StaticDependencyTraverser(boolean traverse)
      Creates a new traverser with the specified traversal behavior.
      Parameters:
      traverse - true to traverse all dependencies, false to never traverse.
  • Method Details

    • traverseDependency

      public boolean traverseDependency(org.eclipse.aether.graph.Dependency dependency)
      Specified by:
      traverseDependency in interface org.eclipse.aether.collection.DependencyTraverser
    • deriveChildTraverser

      public org.eclipse.aether.collection.DependencyTraverser deriveChildTraverser(org.eclipse.aether.collection.DependencyCollectionContext context)
      Specified by:
      deriveChildTraverser in interface org.eclipse.aether.collection.DependencyTraverser
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object