|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.maven.shared.dependency.tree.filter.AncestorOrSelfDependencyNodeFilter
public class AncestorOrSelfDependencyNodeFilter
A dependency node filter than only accepts nodes that are ancestors of, or equal to, a given list of nodes.
Constructor Summary | |
---|---|
AncestorOrSelfDependencyNodeFilter(DependencyNode descendantNode)
|
|
AncestorOrSelfDependencyNodeFilter(java.util.List descendantNodes)
Creates a dependency node filter that only accepts nodes that are ancestors of, or equal to, the specified list of nodes. |
Method Summary | |
---|---|
boolean |
accept(DependencyNode node)
Gets whether this filter accepts the specified dependency node. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AncestorOrSelfDependencyNodeFilter(DependencyNode descendantNode)
public AncestorOrSelfDependencyNodeFilter(java.util.List descendantNodes)
descendantNodes
- the list of nodes to accept ancestors-or-self ofMethod Detail |
---|
public boolean accept(DependencyNode node)
DependencyNodeFilter
accept
in interface DependencyNodeFilter
node
- the dependency node to check
true
if this filter accepts the specified dependency node
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |