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 Summary
ConstructorDescriptionStaticDependencyTraverser
(boolean traverse) Creates a new traverser with the specified traversal behavior. -
Method Summary
Modifier and TypeMethodDescriptionorg.eclipse.aether.collection.DependencyTraverser
deriveChildTraverser
(org.eclipse.aether.collection.DependencyCollectionContext context) boolean
int
hashCode()
boolean
traverseDependency
(org.eclipse.aether.graph.Dependency dependency)
-
Constructor Details
-
StaticDependencyTraverser
Creates a new traverser with the specified traversal behavior.- Parameters:
traverse
-true
to traverse all dependencies,false
to never traverse.
-
-
Method Details
-
traverseDependency
- Specified by:
traverseDependency
in interfaceorg.eclipse.aether.collection.DependencyTraverser
-
deriveChildTraverser
public org.eclipse.aether.collection.DependencyTraverser deriveChildTraverser(org.eclipse.aether.collection.DependencyCollectionContext context) - Specified by:
deriveChildTraverser
in interfaceorg.eclipse.aether.collection.DependencyTraverser
-
equals
-
hashCode
-