|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.maven.shared.dependency.tree.filter.StateDependencyNodeFilter
public class StateDependencyNodeFilter
A dependency node filter that accepts nodes depending on their state.
Field Summary | |
---|---|
static StateDependencyNodeFilter |
INCLUDED
A dependency node filter that only accepts included nodes. |
Constructor Summary | |
---|---|
StateDependencyNodeFilter(int state)
Creates a dependency node filter that only accepts dependency nodes of the specified state. |
Method Summary | |
---|---|
boolean |
accept(DependencyNode node)
Gets whether this filter accepts the specified dependency node. |
int |
getState()
Gets the dependency node state that this filter accepts. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final StateDependencyNodeFilter INCLUDED
Constructor Detail |
---|
public StateDependencyNodeFilter(int state)
state
- the state of dependency nodes to accept
IllegalArgumentException
- if the specified state is invalidMethod Detail |
---|
public boolean accept(DependencyNode node)
accept
in interface DependencyNodeFilter
node
- the dependency node to check
true
if this filter accepts the specified dependency nodepublic int getState()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |