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 voidafterExecutionFailure(MojoExecutionEvent event)voidafterMojoExecutionSuccess(MojoExecutionEvent event)voidbeforeMojoExecution(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:
beforeMojoExecutionin interfaceMojoExecutionListener- Throws:
MojoExecutionException
-
afterMojoExecutionSuccess
public void afterMojoExecutionSuccess(MojoExecutionEvent event) throws MojoExecutionException
- Specified by:
afterMojoExecutionSuccessin interfaceMojoExecutionListener- Throws:
MojoExecutionException
-
afterExecutionFailure
public void afterExecutionFailure(MojoExecutionEvent event)
- Specified by:
afterExecutionFailurein interfaceMojoExecutionListener
-
-