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

org.apache.maven.archiva.dependency.graph.tasks
Class GraphCopier

Package class diagram package GraphCopier
java.lang.Object
  extended by org.apache.maven.archiva.dependency.graph.walk.BaseVisitor
      extended by org.apache.maven.archiva.dependency.graph.tasks.GraphCopier
All Implemented Interfaces:
DependencyGraphVisitor

public class GraphCopier
extends BaseVisitor
implements DependencyGraphVisitor

GraphCopier


Field Summary
protected  DependencyGraph copiedGraph
           
 
Fields inherited from class org.apache.maven.archiva.dependency.graph.walk.BaseVisitor
graph
 
Constructor Summary
GraphCopier()
           
 
Method Summary
 void copyEdge(DependencyGraphEdge edge)
           
 void discoverEdge(DependencyGraphEdge edge)
          Be sure to override and NOT call this method in your sub class, if you want to copy edges based on some kind of criteria.
 void discoverNode(DependencyGraphNode node)
          Called for each node, when that node is visited.
 DependencyGraph getGraph()
           
 void reset()
           
 void setGraph(DependencyGraph graph)
           
 
Methods inherited from class org.apache.maven.archiva.dependency.graph.walk.BaseVisitor
discoverGraph, finishEdge, finishGraph, finishNode, getInstance
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.apache.maven.archiva.dependency.graph.walk.DependencyGraphVisitor
discoverGraph, finishEdge, finishGraph, finishNode
 

Field Detail

copiedGraph

protected DependencyGraph copiedGraph
Constructor Detail

GraphCopier

public GraphCopier()
Method Detail

getGraph

public DependencyGraph getGraph()

setGraph

public void setGraph(DependencyGraph graph)

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
Overrides:
discoverNode in class BaseVisitor
Parameters:
node - the node that is being visited.

discoverEdge

public void discoverEdge(DependencyGraphEdge edge)
Be sure to override and NOT call this method in your sub class, if you want to copy edges based on some kind of criteria.

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

copyEdge

public void copyEdge(DependencyGraphEdge edge)

reset

public void reset()