@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 DelegatingMojoExecutionListener()
public void beforeMojoExecution(MojoExecutionEvent event) throws MojoExecutionException
beforeMojoExecution in interface MojoExecutionListenerMojoExecutionExceptionpublic void afterMojoExecutionSuccess(MojoExecutionEvent event) throws MojoExecutionException
afterMojoExecutionSuccess in interface MojoExecutionListenerMojoExecutionExceptionpublic void afterExecutionFailure(MojoExecutionEvent event)
afterExecutionFailure in interface MojoExecutionListenerpublic void addMojoExecutionListener(MojoExecutionListener listener)
public void removeMojoExecutionListener(MojoExecutionListener listener)
Copyright © 2001–2014 The Apache Software Foundation. All rights reserved.