Package org.apache.maven.plugin
Class CompoundMojoExecutionListener
- java.lang.Object
-
- org.apache.maven.plugin.CompoundMojoExecutionListener
-
- All Implemented Interfaces:
MojoExecutionListener
class CompoundMojoExecutionListener extends java.lang.Object implements MojoExecutionListener
-
-
Field Summary
Fields Modifier and Type Field Description private java.util.Collection<MojoExecutionListener>
listeners
-
Constructor Summary
Constructors Constructor Description CompoundMojoExecutionListener(java.util.Collection<MojoExecutionListener> listeners)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
afterExecutionFailure(MojoExecutionEvent event)
void
afterMojoExecutionSuccess(MojoExecutionEvent event)
void
beforeMojoExecution(MojoExecutionEvent event)
-
-
-
Field Detail
-
listeners
private final java.util.Collection<MojoExecutionListener> listeners
-
-
Constructor Detail
-
CompoundMojoExecutionListener
CompoundMojoExecutionListener(java.util.Collection<MojoExecutionListener> listeners)
-
-
Method Detail
-
beforeMojoExecution
public void beforeMojoExecution(MojoExecutionEvent event) throws MojoExecutionException
- Specified by:
beforeMojoExecution
in interfaceMojoExecutionListener
- Throws:
MojoExecutionException
-
afterMojoExecutionSuccess
public void afterMojoExecutionSuccess(MojoExecutionEvent event) throws MojoExecutionException
- Specified by:
afterMojoExecutionSuccess
in interfaceMojoExecutionListener
- Throws:
MojoExecutionException
-
afterExecutionFailure
public void afterExecutionFailure(MojoExecutionEvent event)
- Specified by:
afterExecutionFailure
in interfaceMojoExecutionListener
-
-