|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||

java.lang.Objectorg.apache.maven.archiva.dependency.graph.walk.WalkBreadthFirstSearch
public class WalkBreadthFirstSearch
WalkBreadthFirstSearch
| Field Summary |
|---|
| Fields inherited from interface org.apache.maven.archiva.dependency.graph.walk.DependencyGraphWalker |
|---|
PROCESSING, SEEN, UNSEEN |
| Constructor Summary | |
|---|---|
WalkBreadthFirstSearch()
|
|
| Method Summary | |
|---|---|
org.apache.commons.collections.Predicate |
getEdgePredicate()
Get the predicate used to determine if the walker should traverse an edge (or not). |
java.lang.Integer |
getNodeVisitState(org.apache.maven.archiva.model.ArtifactReference artifact)
For a provided node, get the current node visit state. |
java.lang.Integer |
getNodeVisitState(DependencyGraphNode node)
|
void |
setEdgePredicate(org.apache.commons.collections.Predicate edgePredicate)
Set the predicate used for edge traversal |
void |
setNodeVisitState(org.apache.maven.archiva.model.ArtifactReference artifact,
java.lang.Integer state)
|
void |
setNodeVisitState(DependencyGraphNode node,
java.lang.Integer state)
|
void |
visit(DependencyGraph graph,
DependencyGraphNode startNode,
DependencyGraphVisitor visitor)
Visit every node and edge in the graph from the startNode. |
void |
visit(DependencyGraph graph,
DependencyGraphVisitor visitor)
Visit every node and edge in the entire graph. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public WalkBreadthFirstSearch()
| Method Detail |
|---|
public org.apache.commons.collections.Predicate getEdgePredicate()
DependencyGraphWalker
getEdgePredicate in interface DependencyGraphWalkerpublic void setEdgePredicate(org.apache.commons.collections.Predicate edgePredicate)
DependencyGraphWalker
setEdgePredicate in interface DependencyGraphWalkeredgePredicate - the Predicate that returns true for edges that should be traversed.public java.lang.Integer getNodeVisitState(DependencyGraphNode node)
public java.lang.Integer getNodeVisitState(org.apache.maven.archiva.model.ArtifactReference artifact)
DependencyGraphWalker
getNodeVisitState in interface DependencyGraphWalkerDependencyGraphWalker.UNSEEN, DependencyGraphWalker.PROCESSING, or DependencyGraphWalker.SEEN )
public void setNodeVisitState(DependencyGraphNode node,
java.lang.Integer state)
public void setNodeVisitState(org.apache.maven.archiva.model.ArtifactReference artifact,
java.lang.Integer state)
public void visit(DependencyGraph graph,
DependencyGraphVisitor visitor)
DependencyGraphWalker
visit in interface DependencyGraphWalkergraph - the graph to visit.visitor - the visitor object to use during this visit.
public void visit(DependencyGraph graph,
DependencyGraphNode startNode,
DependencyGraphVisitor visitor)
DependencyGraphWalker
visit in interface DependencyGraphWalkergraph - the graph to visit.startNode - the node to start the visit on.visitor - the visitor object to use during this visit.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||