This project has retired. For details please refer to its Attic page.
BaseVisitor

org.apache.maven.archiva.dependency.graph.walk
Class BaseVisitor

Package class diagram package BaseVisitor
java.lang.Object
  extended by org.apache.maven.archiva.dependency.graph.walk.BaseVisitor
All Implemented Interfaces:
DependencyGraphVisitor
Direct Known Subclasses:
AbstractReduceEdgeVisitor, DependencyManagementApplier, FlagCyclicEdgesVisitor, FlagExcludedEdgesVisitor, GraphCopier, RefineConflictsVisitor, UpdateScopesVisitor

public class BaseVisitor
extends java.lang.Object
implements DependencyGraphVisitor

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

graph

protected DependencyGraph graph
Constructor Detail

BaseVisitor

public BaseVisitor()
Method Detail

getInstance

public static DependencyGraphVisitor getInstance()

discoverEdge

public void discoverEdge(DependencyGraphEdge edge)
Description copied from interface: DependencyGraphVisitor
Called for each edge, when that edge is visited.

Specified by:
discoverEdge in interface DependencyGraphVisitor
Parameters:
edge - the edge that is being visited.

discoverGraph

public void discoverGraph(DependencyGraph graph)
Description copied from interface: DependencyGraphVisitor
Called once, for when the graph itself is discovered.

Specified by:
discoverGraph in interface DependencyGraphVisitor
Parameters:
graph - the graph that was discovered.

discoverNode

public void discoverNode(DependencyGraphNode node)
Description copied from interface: DependencyGraphVisitor
Called for each node, when that node is visited.

Specified by:
discoverNode in interface DependencyGraphVisitor
Parameters:
node - the node that is being visited.

finishEdge

public void finishEdge(DependencyGraphEdge edge)
Description copied from interface: DependencyGraphVisitor
Called for each edge, when that edge has been fully visited.

Specified by:
finishEdge in interface DependencyGraphVisitor
Parameters:
edge - the edge that was finished being visited.

finishGraph

public void finishGraph(DependencyGraph graph)
Description copied from interface: DependencyGraphVisitor
Called once, for when the graph is finished being visited.

Specified by:
finishGraph in interface DependencyGraphVisitor
Parameters:
graph - the graph that finished being visited.

finishNode

public void finishNode(DependencyGraphNode node)
Description copied from interface: DependencyGraphVisitor
Called for each node, when the node has been fully visited.

Specified by:
finishNode in interface DependencyGraphVisitor
Parameters:
node - the node that was finished being visited.