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 void
afterProjectExecutionFailure(ProjectExecutionEvent event)
void
afterProjectExecutionSuccess(ProjectExecutionEvent event)
void
beforeProjectExecution(ProjectExecutionEvent event)
void
beforeProjectLifecycleExecution(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:
beforeProjectExecution
in interfaceProjectExecutionListener
- Throws:
LifecycleExecutionException
-
beforeProjectLifecycleExecution
public void beforeProjectLifecycleExecution(ProjectExecutionEvent event) throws LifecycleExecutionException
- Specified by:
beforeProjectLifecycleExecution
in interfaceProjectExecutionListener
- Throws:
LifecycleExecutionException
-
afterProjectExecutionSuccess
public void afterProjectExecutionSuccess(ProjectExecutionEvent event) throws LifecycleExecutionException
- Specified by:
afterProjectExecutionSuccess
in interfaceProjectExecutionListener
- Throws:
LifecycleExecutionException
-
afterProjectExecutionFailure
public void afterProjectExecutionFailure(ProjectExecutionEvent event)
- Specified by:
afterProjectExecutionFailure
in interfaceProjectExecutionListener
-
-