Class CompoundProjectExecutionListener
- java.lang.Object
-
- org.apache.maven.lifecycle.internal.CompoundProjectExecutionListener
-
- All Implemented Interfaces:
ProjectExecutionListener
class CompoundProjectExecutionListener extends java.lang.Object implements ProjectExecutionListener
-
-
Field Summary
Fields Modifier and Type Field Description private java.util.Collection<ProjectExecutionListener>listeners
-
Constructor Summary
Constructors Constructor Description CompoundProjectExecutionListener(java.util.Collection<ProjectExecutionListener> listeners)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidafterProjectExecutionFailure(ProjectExecutionEvent event)voidafterProjectExecutionSuccess(ProjectExecutionEvent event)voidbeforeProjectExecution(ProjectExecutionEvent event)voidbeforeProjectLifecycleExecution(ProjectExecutionEvent event)
-
-
-
Field Detail
-
listeners
private final java.util.Collection<ProjectExecutionListener> listeners
-
-
Constructor Detail
-
CompoundProjectExecutionListener
CompoundProjectExecutionListener(java.util.Collection<ProjectExecutionListener> listeners)
-
-
Method Detail
-
beforeProjectExecution
public void beforeProjectExecution(ProjectExecutionEvent event) throws LifecycleExecutionException
- Specified by:
beforeProjectExecutionin interfaceProjectExecutionListener- Throws:
LifecycleExecutionException
-
beforeProjectLifecycleExecution
public void beforeProjectLifecycleExecution(ProjectExecutionEvent event) throws LifecycleExecutionException
- Specified by:
beforeProjectLifecycleExecutionin interfaceProjectExecutionListener- Throws:
LifecycleExecutionException
-
afterProjectExecutionSuccess
public void afterProjectExecutionSuccess(ProjectExecutionEvent event) throws LifecycleExecutionException
- Specified by:
afterProjectExecutionSuccessin interfaceProjectExecutionListener- Throws:
LifecycleExecutionException
-
afterProjectExecutionFailure
public void afterProjectExecutionFailure(ProjectExecutionEvent event)
- Specified by:
afterProjectExecutionFailurein interfaceProjectExecutionListener
-
-