class ChainedExecutionListener
extends java.lang.Object
implements org.apache.maven.execution.ExecutionListener
Maven allows only one execution listener. This class can be used to workaround for this limitation.
Constructor and Description |
---|
ChainedExecutionListener() |
Modifier and Type | Method and Description |
---|---|
void |
addExecutionListener(org.apache.maven.execution.ExecutionListener listener) |
void |
forkedProjectFailed(org.apache.maven.execution.ExecutionEvent event) |
void |
forkedProjectStarted(org.apache.maven.execution.ExecutionEvent event) |
void |
forkedProjectSucceeded(org.apache.maven.execution.ExecutionEvent event) |
void |
forkFailed(org.apache.maven.execution.ExecutionEvent event) |
void |
forkStarted(org.apache.maven.execution.ExecutionEvent event) |
void |
forkSucceeded(org.apache.maven.execution.ExecutionEvent event) |
void |
mojoFailed(org.apache.maven.execution.ExecutionEvent event) |
void |
mojoSkipped(org.apache.maven.execution.ExecutionEvent event) |
void |
mojoStarted(org.apache.maven.execution.ExecutionEvent event) |
void |
mojoSucceeded(org.apache.maven.execution.ExecutionEvent event) |
void |
projectDiscoveryStarted(org.apache.maven.execution.ExecutionEvent event) |
void |
projectFailed(org.apache.maven.execution.ExecutionEvent event) |
void |
projectSkipped(org.apache.maven.execution.ExecutionEvent event) |
void |
projectStarted(org.apache.maven.execution.ExecutionEvent event) |
void |
projectSucceeded(org.apache.maven.execution.ExecutionEvent event) |
void |
sessionEnded(org.apache.maven.execution.ExecutionEvent event) |
void |
sessionStarted(org.apache.maven.execution.ExecutionEvent event) |
public void addExecutionListener(org.apache.maven.execution.ExecutionListener listener)
public void projectDiscoveryStarted(org.apache.maven.execution.ExecutionEvent event)
projectDiscoveryStarted
in interface org.apache.maven.execution.ExecutionListener
public void sessionStarted(org.apache.maven.execution.ExecutionEvent event)
sessionStarted
in interface org.apache.maven.execution.ExecutionListener
public void sessionEnded(org.apache.maven.execution.ExecutionEvent event)
sessionEnded
in interface org.apache.maven.execution.ExecutionListener
public void projectSkipped(org.apache.maven.execution.ExecutionEvent event)
projectSkipped
in interface org.apache.maven.execution.ExecutionListener
public void projectStarted(org.apache.maven.execution.ExecutionEvent event)
projectStarted
in interface org.apache.maven.execution.ExecutionListener
public void projectSucceeded(org.apache.maven.execution.ExecutionEvent event)
projectSucceeded
in interface org.apache.maven.execution.ExecutionListener
public void projectFailed(org.apache.maven.execution.ExecutionEvent event)
projectFailed
in interface org.apache.maven.execution.ExecutionListener
public void mojoSkipped(org.apache.maven.execution.ExecutionEvent event)
mojoSkipped
in interface org.apache.maven.execution.ExecutionListener
public void mojoStarted(org.apache.maven.execution.ExecutionEvent event)
mojoStarted
in interface org.apache.maven.execution.ExecutionListener
public void mojoSucceeded(org.apache.maven.execution.ExecutionEvent event)
mojoSucceeded
in interface org.apache.maven.execution.ExecutionListener
public void mojoFailed(org.apache.maven.execution.ExecutionEvent event)
mojoFailed
in interface org.apache.maven.execution.ExecutionListener
public void forkStarted(org.apache.maven.execution.ExecutionEvent event)
forkStarted
in interface org.apache.maven.execution.ExecutionListener
public void forkSucceeded(org.apache.maven.execution.ExecutionEvent event)
forkSucceeded
in interface org.apache.maven.execution.ExecutionListener
public void forkFailed(org.apache.maven.execution.ExecutionEvent event)
forkFailed
in interface org.apache.maven.execution.ExecutionListener
public void forkedProjectStarted(org.apache.maven.execution.ExecutionEvent event)
forkedProjectStarted
in interface org.apache.maven.execution.ExecutionListener
public void forkedProjectSucceeded(org.apache.maven.execution.ExecutionEvent event)
forkedProjectSucceeded
in interface org.apache.maven.execution.ExecutionListener
public void forkedProjectFailed(org.apache.maven.execution.ExecutionEvent event)
forkedProjectFailed
in interface org.apache.maven.execution.ExecutionListener
Copyright © 2012–2017 Red Hat, Inc.. All rights reserved.