Class AbstractEndVisitDependencyHandler.HandleDependencyRootEndVisitor
java.lang.Object
net.agilhard.maven.plugins.jpacktool.base.handler.AbstractEndVisitDependencyHandler.HandleDependencyRootEndVisitor
- All Implemented Interfaces:
org.apache.maven.shared.dependency.graph.traversal.DependencyNodeVisitor
- Enclosing class:
- AbstractEndVisitDependencyHandler
public class AbstractEndVisitDependencyHandler.HandleDependencyRootEndVisitor
extends java.lang.Object
implements org.apache.maven.shared.dependency.graph.traversal.DependencyNodeVisitor
-
Field Summary
Fields Modifier and Type Field Description org.apache.maven.plugin.MojoExecutionException
mojoExecutionException
org.apache.maven.plugin.MojoFailureException
mojoFailureException
-
Constructor Summary
Constructors Constructor Description HandleDependencyRootEndVisitor()
-
Method Summary
Modifier and Type Method Description boolean
endVisit(org.apache.maven.shared.dependency.graph.DependencyNode node)
Ends the visit to to the specified dependency node.AbstractEndVIsitDependencyHandlerboolean
visit(org.apache.maven.shared.dependency.graph.DependencyNode node)
Starts the visit to the specified dependency node.
-
Field Details
-
mojoExecutionException
public org.apache.maven.plugin.MojoExecutionException mojoExecutionException -
mojoFailureException
public org.apache.maven.plugin.MojoFailureException mojoFailureException
-
-
Constructor Details
-
HandleDependencyRootEndVisitor
public HandleDependencyRootEndVisitor()
-
-
Method Details
-
visit
public boolean visit(org.apache.maven.shared.dependency.graph.DependencyNode node)Starts the visit to the specified dependency node.- Specified by:
visit
in interfaceorg.apache.maven.shared.dependency.graph.traversal.DependencyNodeVisitor
- Parameters:
node
- the dependency node to visit- Returns:
true
-
endVisit
public boolean endVisit(org.apache.maven.shared.dependency.graph.DependencyNode node)Ends the visit to to the specified dependency node.AbstractEndVIsitDependencyHandler- Specified by:
endVisit
in interfaceorg.apache.maven.shared.dependency.graph.traversal.DependencyNodeVisitor
- Parameters:
node
- the dependency node to visit- Returns:
true
to visit the specified dependency node's next sibling,false
to skip the specified dependency node's next siblings and proceed to its parent
-