|
|||||||||
| 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.BaseVisitor
public class BaseVisitor
The Baseline Visitor.
| Field Summary | |
|---|---|
protected DependencyGraph |
graph
|
| Constructor Summary | |
|---|---|
BaseVisitor()
|
|
| Method Summary | |
|---|---|
void |
discoverEdge(DependencyGraphEdge edge)
Called for each edge, when that edge is visited. |
void |
discoverGraph(DependencyGraph graph)
Called once, for when the graph itself is discovered. |
void |
discoverNode(DependencyGraphNode node)
Called for each node, when that node is visited. |
void |
finishEdge(DependencyGraphEdge edge)
Called for each edge, when that edge has been fully visited. |
void |
finishGraph(DependencyGraph graph)
Called once, for when the graph is finished being visited. |
void |
finishNode(DependencyGraphNode node)
Called for each node, when the node has been fully visited. |
static DependencyGraphVisitor |
getInstance()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected DependencyGraph graph
| Constructor Detail |
|---|
public BaseVisitor()
| Method Detail |
|---|
public static DependencyGraphVisitor getInstance()
public void discoverEdge(DependencyGraphEdge edge)
DependencyGraphVisitor
discoverEdge in interface DependencyGraphVisitoredge - the edge that is being visited.public void discoverGraph(DependencyGraph graph)
DependencyGraphVisitor
discoverGraph in interface DependencyGraphVisitorgraph - the graph that was discovered.public void discoverNode(DependencyGraphNode node)
DependencyGraphVisitor
discoverNode in interface DependencyGraphVisitornode - the node that is being visited.public void finishEdge(DependencyGraphEdge edge)
DependencyGraphVisitor
finishEdge in interface DependencyGraphVisitoredge - the edge that was finished being visited.public void finishGraph(DependencyGraph graph)
DependencyGraphVisitor
finishGraph in interface DependencyGraphVisitorgraph - the graph that finished being visited.public void finishNode(DependencyGraphNode node)
DependencyGraphVisitor
finishNode in interface DependencyGraphVisitornode - the node that was finished being visited.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||