
org.jvnet.maven.plugin.antrun.GraphVisitor Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of maven-antrun-extended-plugin Show documentation
Show all versions of maven-antrun-extended-plugin Show documentation
This extended antrun maven plugin enables users not only to run ant scripts embedded in the POM, but also to reference maven dependencies using Ant task classes. This enables the user to delegate more complex tasks to Ant such as constructing file-based installation distros.
package org.jvnet.maven.plugin.antrun;
/**
* Traverses a {@link DependencyGraph} in a depth-first order.
* All the reachable nodes and edges are visited.
*
* @author Kohsuke Kawaguchi
*/
public interface GraphVisitor {
/**
* Visits an edge.
*
* @return
* false to cut the traversal here and don't visit
* its destination node.
*/
boolean visit(DependencyGraph.Edge edge);
/**
* Visits a node.
*
* @return
* false to cut the traversal here and don't visit
* any of forward edges from this node.
*/
boolean visit(DependencyGraph.Node node);
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy