@Named @Singleton public class DelegatingMojoExecutionListener extends Object implements MojoExecutionListener
Constructor and Description |
---|
DelegatingMojoExecutionListener() |
Modifier and Type | Method and Description |
---|---|
void |
addMojoExecutionListener(MojoExecutionListener listener) |
void |
afterExecutionFailure(MojoExecutionEvent event) |
void |
afterMojoExecutionSuccess(MojoExecutionEvent event) |
void |
beforeMojoExecution(MojoExecutionEvent event) |
void |
removeMojoExecutionListener(MojoExecutionListener listener) |
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
public void addMojoExecutionListener(MojoExecutionListener listener)
public void removeMojoExecutionListener(MojoExecutionListener listener)
Copyright © 2001–2017 The Apache Software Foundation. All rights reserved.