public abstract class AbstractNode extends Object implements Node
Constructor and Description |
---|
AbstractNode() |
Modifier and Type | Method and Description |
---|---|
boolean |
accept(NodeVisitor visitor)
Traverses this node and potentially its children using the specified visitor.
|
String |
asString()
Returns a string representation of this dependency node.
|
Node |
filter(Predicate<Node> filter)
Returns a new tree starting at this node, filtering the children.
|
String |
toString() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getChildren, getDependency, getRemoteRepositories, getRepository, stream
public boolean accept(NodeVisitor visitor)
Node
public Node filter(Predicate<Node> filter)
Node
public String asString()
Node
Copyright © 2001–2022 The Apache Software Foundation. All rights reserved.