This project has retired. For details please refer to its
Attic page .
GraphCopier
org.apache.maven.archiva.dependency.graph.tasks
Class GraphCopier
java.lang.Object
org.apache.maven.archiva.dependency.graph.walk.BaseVisitor
org.apache.maven.archiva.dependency.graph.tasks.GraphCopier
All Implemented Interfaces: DependencyGraphVisitor
public class GraphCopier extends BaseVisitor implements DependencyGraphVisitor
GraphCopier
Fields inherited from class org.apache.maven.archiva.dependency.graph.walk.BaseVisitor
graph
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
copiedGraph
protected DependencyGraph copiedGraph
GraphCopier
public GraphCopier ()
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 ()