hudson.maven.util
Class ExecutionEventLogger

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

public class ExecutionEventLogger
extends org.apache.maven.execution.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(org.apache.maven.execution.ExecutionEvent event)
           
 void forkStarted(org.apache.maven.execution.ExecutionEvent event)
          >>> mojo-artifactId:version:goal (mojo-executionId) @ project-artifactId >>>
 void forkSucceeded(org.apache.maven.execution.ExecutionEvent event)
          <<< mojo-artifactId:version:goal (mojo-executionId) @ project-artifactId <<<
 void mojoSkipped(org.apache.maven.execution.ExecutionEvent event)
           
 void mojoStarted(org.apache.maven.execution.ExecutionEvent event)
          --- mojo-artifactId:version:goal (mojo-executionId) @ project-artifactId ---
 void projectDiscoveryStarted(org.apache.maven.execution.ExecutionEvent event)
           
 void projectSkipped(org.apache.maven.execution.ExecutionEvent event)
           
 void projectStarted(org.apache.maven.execution.ExecutionEvent event)
           
 void sessionEnded(org.apache.maven.execution.ExecutionEvent event)
           
 void sessionStarted(org.apache.maven.execution.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(org.apache.maven.execution.ExecutionEvent event)
Specified by:
projectDiscoveryStarted in interface org.apache.maven.execution.ExecutionListener
Overrides:
projectDiscoveryStarted in class org.apache.maven.execution.AbstractExecutionListener

sessionStarted

public void sessionStarted(org.apache.maven.execution.ExecutionEvent event)
Specified by:
sessionStarted in interface org.apache.maven.execution.ExecutionListener
Overrides:
sessionStarted in class org.apache.maven.execution.AbstractExecutionListener

sessionEnded

public void sessionEnded(org.apache.maven.execution.ExecutionEvent event)
Specified by:
sessionEnded in interface org.apache.maven.execution.ExecutionListener
Overrides:
sessionEnded in class org.apache.maven.execution.AbstractExecutionListener

projectSkipped

public void projectSkipped(org.apache.maven.execution.ExecutionEvent event)
Specified by:
projectSkipped in interface org.apache.maven.execution.ExecutionListener
Overrides:
projectSkipped in class org.apache.maven.execution.AbstractExecutionListener

projectStarted

public void projectStarted(org.apache.maven.execution.ExecutionEvent event)
Specified by:
projectStarted in interface org.apache.maven.execution.ExecutionListener
Overrides:
projectStarted in class org.apache.maven.execution.AbstractExecutionListener

mojoSkipped

public void mojoSkipped(org.apache.maven.execution.ExecutionEvent event)
Specified by:
mojoSkipped in interface org.apache.maven.execution.ExecutionListener
Overrides:
mojoSkipped in class org.apache.maven.execution.AbstractExecutionListener

mojoStarted

public void mojoStarted(org.apache.maven.execution.ExecutionEvent event)
--- mojo-artifactId:version:goal (mojo-executionId) @ project-artifactId ---

Specified by:
mojoStarted in interface org.apache.maven.execution.ExecutionListener
Overrides:
mojoStarted in class org.apache.maven.execution.AbstractExecutionListener

forkStarted

public void forkStarted(org.apache.maven.execution.ExecutionEvent event)
>>> mojo-artifactId:version:goal (mojo-executionId) @ project-artifactId >>>

Specified by:
forkStarted in interface org.apache.maven.execution.ExecutionListener
Overrides:
forkStarted in class org.apache.maven.execution.AbstractExecutionListener

forkSucceeded

public void forkSucceeded(org.apache.maven.execution.ExecutionEvent event)
<<< mojo-artifactId:version:goal (mojo-executionId) @ project-artifactId <<<

Specified by:
forkSucceeded in interface org.apache.maven.execution.ExecutionListener
Overrides:
forkSucceeded in class org.apache.maven.execution.AbstractExecutionListener

forkedProjectStarted

public void forkedProjectStarted(org.apache.maven.execution.ExecutionEvent event)
Specified by:
forkedProjectStarted in interface org.apache.maven.execution.ExecutionListener
Overrides:
forkedProjectStarted in class org.apache.maven.execution.AbstractExecutionListener


Copyright © 2004-2013. All Rights Reserved.