org.jvnet.maven.plugin.antrun
Class DefaultGraphVisitor
java.lang.Object
org.jvnet.maven.plugin.antrun.DefaultGraphVisitor
- All Implemented Interfaces:
- GraphVisitor
public class DefaultGraphVisitor
- extends Object
- implements GraphVisitor
Partial GraphVisitor
implementation that returns true.
- Author:
- Kohsuke Kawaguchi
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DefaultGraphVisitor
public DefaultGraphVisitor()
visit
public boolean visit(DependencyGraph.Edge edge)
- Description copied from interface:
GraphVisitor
- Visits an edge.
- Specified by:
visit
in interface GraphVisitor
- Returns:
- false to cut the traversal here and don't visit
its destination node.
visit
public boolean visit(DependencyGraph.Node node)
- Description copied from interface:
GraphVisitor
- Visits a node.
- Specified by:
visit
in interface GraphVisitor
- Returns:
- false to cut the traversal here and don't visit
any of forward edges from this node.
Copyright © 2011. All Rights Reserved.