Class AbstractEndVisitDependencyHandler
java.lang.Object
net.agilhard.maven.plugins.jpacktool.base.handler.AbstractDependencyHandler
net.agilhard.maven.plugins.jpacktool.base.handler.AbstractEndVisitDependencyHandler
- Direct Known Subclasses:
CollectJarsHandler
,GenerateJDepsHandler
public abstract class AbstractEndVisitDependencyHandler extends AbstractDependencyHandler
-
Nested Class Summary
Nested Classes Modifier and Type Class Description class
AbstractEndVisitDependencyHandler.HandleDependencyRootEndVisitor
-
Field Summary
Fields inherited from class net.agilhard.maven.plugins.jpacktool.base.handler.AbstractDependencyHandler
classpathArtifacts, dependencyGraphBuilder, excludedArtifacts, handledNodes, outputDirectoryAutomaticJars, outputDirectoryClasspathJars, outputDirectoryJPacktool, outputDirectoryModules
-
Constructor Summary
Constructors Constructor Description AbstractEndVisitDependencyHandler(AbstractToolMojo mojo, org.apache.maven.shared.dependency.graph.DependencyGraphBuilder dependencyGraphBuilder)
-
Method Summary
Modifier and Type Method Description protected void
handleDependencyRoot(org.apache.maven.shared.dependency.graph.DependencyNode dependencyNode)
protected abstract void
handleModJar(org.apache.maven.shared.dependency.graph.DependencyNode dependencyNode, org.apache.maven.artifact.Artifact artifact, java.util.Map.Entry<java.io.File,org.codehaus.plexus.languages.java.jpms.JavaModuleDescriptor> entry)
protected abstract void
handleNonModJar(org.apache.maven.shared.dependency.graph.DependencyNode dependencyNode, org.apache.maven.artifact.Artifact artifact, java.util.Map.Entry<java.io.File,org.codehaus.plexus.languages.java.jpms.JavaModuleDescriptor> entry)
Methods inherited from class net.agilhard.maven.plugins.jpacktool.base.handler.AbstractDependencyHandler
execute, execute, getLog, handleDependencyNode, handleModJarIfNotAlreadyHandled, handleNonModJarIfNotAlreadyHandled, handleOther
-
Constructor Details
-
AbstractEndVisitDependencyHandler
public AbstractEndVisitDependencyHandler(AbstractToolMojo mojo, org.apache.maven.shared.dependency.graph.DependencyGraphBuilder dependencyGraphBuilder)
-
-
Method Details
-
handleNonModJar
protected abstract void handleNonModJar(org.apache.maven.shared.dependency.graph.DependencyNode dependencyNode, org.apache.maven.artifact.Artifact artifact, java.util.Map.Entry<java.io.File,org.codehaus.plexus.languages.java.jpms.JavaModuleDescriptor> entry) throws org.apache.maven.plugin.MojoExecutionException, org.apache.maven.plugin.MojoFailureException- Specified by:
handleNonModJar
in classAbstractDependencyHandler
- Throws:
org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoFailureException
-
handleModJar
protected abstract void handleModJar(org.apache.maven.shared.dependency.graph.DependencyNode dependencyNode, org.apache.maven.artifact.Artifact artifact, java.util.Map.Entry<java.io.File,org.codehaus.plexus.languages.java.jpms.JavaModuleDescriptor> entry) throws org.apache.maven.plugin.MojoExecutionException, org.apache.maven.plugin.MojoFailureException- Specified by:
handleModJar
in classAbstractDependencyHandler
- Throws:
org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoFailureException
-
handleDependencyRoot
protected void handleDependencyRoot(org.apache.maven.shared.dependency.graph.DependencyNode dependencyNode) throws org.apache.maven.plugin.MojoExecutionException, org.apache.maven.plugin.MojoFailureException- Specified by:
handleDependencyRoot
in classAbstractDependencyHandler
- Throws:
org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoFailureException
-