org.apache.maven.cli
Class ExecutionEventLogger

java.lang.Object
  extended by org.apache.maven.execution.AbstractExecutionListener
      extended by org.apache.maven.cli.ExecutionEventLogger
All Implemented Interfaces:
ExecutionListener

public class ExecutionEventLogger
extends AbstractExecutionListener

Logs execution events to a user-supplied logger.

Author:
Benjamin Bentmann

Constructor Summary
ExecutionEventLogger(org.codehaus.plexus.logging.Logger logger)
           
 
Method Summary
 void forkedProjectStarted(ExecutionEvent event)
           
 void forkStarted(ExecutionEvent event)
          >>> mojo-artifactId:version:goal (mojo-executionId) @ project-artifactId >>>
 void forkSucceeded(ExecutionEvent event)
          <<< mojo-artifactId:version:goal (mojo-executionId) @ project-artifactId <<<
 void mojoSkipped(ExecutionEvent event)
           
 void mojoStarted(ExecutionEvent event)
          --- mojo-artifactId:version:goal (mojo-executionId) @ project-artifactId ---
 void projectDiscoveryStarted(ExecutionEvent event)
           
 void projectSkipped(ExecutionEvent event)
           
 void projectStarted(ExecutionEvent event)
           
 void sessionEnded(ExecutionEvent event)
           
 void sessionStarted(ExecutionEvent event)
           
 
Methods inherited from class org.apache.maven.execution.AbstractExecutionListener
forkedProjectFailed, forkedProjectSucceeded, forkFailed, mojoFailed, mojoSucceeded, projectFailed, projectSucceeded
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ExecutionEventLogger

public ExecutionEventLogger(org.codehaus.plexus.logging.Logger logger)
Method Detail

projectDiscoveryStarted

public void projectDiscoveryStarted(ExecutionEvent event)
Specified by:
projectDiscoveryStarted in interface ExecutionListener
Overrides:
projectDiscoveryStarted in class AbstractExecutionListener

sessionStarted

public void sessionStarted(ExecutionEvent event)
Specified by:
sessionStarted in interface ExecutionListener
Overrides:
sessionStarted in class AbstractExecutionListener

sessionEnded

public void sessionEnded(ExecutionEvent event)
Specified by:
sessionEnded in interface ExecutionListener
Overrides:
sessionEnded in class AbstractExecutionListener

projectSkipped

public void projectSkipped(ExecutionEvent event)
Specified by:
projectSkipped in interface ExecutionListener
Overrides:
projectSkipped in class AbstractExecutionListener

projectStarted

public void projectStarted(ExecutionEvent event)
Specified by:
projectStarted in interface ExecutionListener
Overrides:
projectStarted in class AbstractExecutionListener

mojoSkipped

public void mojoSkipped(ExecutionEvent event)
Specified by:
mojoSkipped in interface ExecutionListener
Overrides:
mojoSkipped in class AbstractExecutionListener

mojoStarted

public void mojoStarted(ExecutionEvent event)
--- mojo-artifactId:version:goal (mojo-executionId) @ project-artifactId ---

Specified by:
mojoStarted in interface ExecutionListener
Overrides:
mojoStarted in class AbstractExecutionListener

forkStarted

public void forkStarted(ExecutionEvent event)
>>> mojo-artifactId:version:goal (mojo-executionId) @ project-artifactId >>>

Specified by:
forkStarted in interface ExecutionListener
Overrides:
forkStarted in class AbstractExecutionListener

forkSucceeded

public void forkSucceeded(ExecutionEvent event)
<<< mojo-artifactId:version:goal (mojo-executionId) @ project-artifactId <<<

Specified by:
forkSucceeded in interface ExecutionListener
Overrides:
forkSucceeded in class AbstractExecutionListener

forkedProjectStarted

public void forkedProjectStarted(ExecutionEvent event)
Specified by:
forkedProjectStarted in interface ExecutionListener
Overrides:
forkedProjectStarted in class AbstractExecutionListener


Copyright © 2001-2013 The Apache Software Foundation. All Rights Reserved.