Class ChainedExecutionListener
- java.lang.Object
-
- org.fedoraproject.xmvn.connector.maven.ChainedExecutionListener
-
- All Implemented Interfaces:
org.apache.maven.execution.ExecutionListener
class ChainedExecutionListener extends java.lang.Object implements org.apache.maven.execution.ExecutionListenerForwards Maven execution events to a chain of listeners.Maven allows only one execution listener. This class can be used to workaround for this limitation.
-
-
Field Summary
Fields Modifier and Type Field Description private java.util.List<org.apache.maven.execution.ExecutionListener>listeners
-
Constructor Summary
Constructors Constructor Description ChainedExecutionListener()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddExecutionListener(org.apache.maven.execution.ExecutionListener listener)voidforkedProjectFailed(org.apache.maven.execution.ExecutionEvent event)voidforkedProjectStarted(org.apache.maven.execution.ExecutionEvent event)voidforkedProjectSucceeded(org.apache.maven.execution.ExecutionEvent event)voidforkFailed(org.apache.maven.execution.ExecutionEvent event)voidforkStarted(org.apache.maven.execution.ExecutionEvent event)voidforkSucceeded(org.apache.maven.execution.ExecutionEvent event)voidmojoFailed(org.apache.maven.execution.ExecutionEvent event)voidmojoSkipped(org.apache.maven.execution.ExecutionEvent event)voidmojoStarted(org.apache.maven.execution.ExecutionEvent event)voidmojoSucceeded(org.apache.maven.execution.ExecutionEvent event)voidprojectDiscoveryStarted(org.apache.maven.execution.ExecutionEvent event)voidprojectFailed(org.apache.maven.execution.ExecutionEvent event)voidprojectSkipped(org.apache.maven.execution.ExecutionEvent event)voidprojectStarted(org.apache.maven.execution.ExecutionEvent event)voidprojectSucceeded(org.apache.maven.execution.ExecutionEvent event)voidsessionEnded(org.apache.maven.execution.ExecutionEvent event)voidsessionStarted(org.apache.maven.execution.ExecutionEvent event)
-
-
-
Method Detail
-
addExecutionListener
public void addExecutionListener(org.apache.maven.execution.ExecutionListener listener)
-
projectDiscoveryStarted
public void projectDiscoveryStarted(org.apache.maven.execution.ExecutionEvent event)
- Specified by:
projectDiscoveryStartedin interfaceorg.apache.maven.execution.ExecutionListener
-
sessionStarted
public void sessionStarted(org.apache.maven.execution.ExecutionEvent event)
- Specified by:
sessionStartedin interfaceorg.apache.maven.execution.ExecutionListener
-
sessionEnded
public void sessionEnded(org.apache.maven.execution.ExecutionEvent event)
- Specified by:
sessionEndedin interfaceorg.apache.maven.execution.ExecutionListener
-
projectSkipped
public void projectSkipped(org.apache.maven.execution.ExecutionEvent event)
- Specified by:
projectSkippedin interfaceorg.apache.maven.execution.ExecutionListener
-
projectStarted
public void projectStarted(org.apache.maven.execution.ExecutionEvent event)
- Specified by:
projectStartedin interfaceorg.apache.maven.execution.ExecutionListener
-
projectSucceeded
public void projectSucceeded(org.apache.maven.execution.ExecutionEvent event)
- Specified by:
projectSucceededin interfaceorg.apache.maven.execution.ExecutionListener
-
projectFailed
public void projectFailed(org.apache.maven.execution.ExecutionEvent event)
- Specified by:
projectFailedin interfaceorg.apache.maven.execution.ExecutionListener
-
mojoSkipped
public void mojoSkipped(org.apache.maven.execution.ExecutionEvent event)
- Specified by:
mojoSkippedin interfaceorg.apache.maven.execution.ExecutionListener
-
mojoStarted
public void mojoStarted(org.apache.maven.execution.ExecutionEvent event)
- Specified by:
mojoStartedin interfaceorg.apache.maven.execution.ExecutionListener
-
mojoSucceeded
public void mojoSucceeded(org.apache.maven.execution.ExecutionEvent event)
- Specified by:
mojoSucceededin interfaceorg.apache.maven.execution.ExecutionListener
-
mojoFailed
public void mojoFailed(org.apache.maven.execution.ExecutionEvent event)
- Specified by:
mojoFailedin interfaceorg.apache.maven.execution.ExecutionListener
-
forkStarted
public void forkStarted(org.apache.maven.execution.ExecutionEvent event)
- Specified by:
forkStartedin interfaceorg.apache.maven.execution.ExecutionListener
-
forkSucceeded
public void forkSucceeded(org.apache.maven.execution.ExecutionEvent event)
- Specified by:
forkSucceededin interfaceorg.apache.maven.execution.ExecutionListener
-
forkFailed
public void forkFailed(org.apache.maven.execution.ExecutionEvent event)
- Specified by:
forkFailedin interfaceorg.apache.maven.execution.ExecutionListener
-
forkedProjectStarted
public void forkedProjectStarted(org.apache.maven.execution.ExecutionEvent event)
- Specified by:
forkedProjectStartedin interfaceorg.apache.maven.execution.ExecutionListener
-
forkedProjectSucceeded
public void forkedProjectSucceeded(org.apache.maven.execution.ExecutionEvent event)
- Specified by:
forkedProjectSucceededin interfaceorg.apache.maven.execution.ExecutionListener
-
forkedProjectFailed
public void forkedProjectFailed(org.apache.maven.execution.ExecutionEvent event)
- Specified by:
forkedProjectFailedin interfaceorg.apache.maven.execution.ExecutionListener
-
-