class CompoundMojoExecutionListener extends java.lang.Object implements MojoExecutionListener
Modifier and Type | Field and Description |
---|---|
private java.util.Collection<MojoExecutionListener> |
listeners |
Constructor and Description |
---|
CompoundMojoExecutionListener(java.util.Collection<MojoExecutionListener> listeners) |
Modifier and Type | Method and Description |
---|---|
void |
afterExecutionFailure(MojoExecutionEvent event) |
void |
afterMojoExecutionSuccess(MojoExecutionEvent event) |
void |
beforeMojoExecution(MojoExecutionEvent event) |
private final java.util.Collection<MojoExecutionListener> listeners
public CompoundMojoExecutionListener(java.util.Collection<MojoExecutionListener> listeners)
public void beforeMojoExecution(MojoExecutionEvent event) throws MojoExecutionException
beforeMojoExecution
in interface MojoExecutionListener
MojoExecutionException
public void afterMojoExecutionSuccess(MojoExecutionEvent event) throws MojoExecutionException
afterMojoExecutionSuccess
in interface MojoExecutionListener
MojoExecutionException
public void afterExecutionFailure(MojoExecutionEvent event)
afterExecutionFailure
in interface MojoExecutionListener