Class ExecutionEventLogger

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

public class ExecutionEventLogger extends org.apache.maven.cli.event.ExecutionEventLogger
  • Constructor Summary

    Constructors
    Constructor
    Description
     
    ExecutionEventLogger(org.slf4j.Logger logger)
    Deprecated.
    ExecutionEventLogger(org.slf4j.Logger logger, String mojoNote)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static String
    formatTimestamp(long timestamp)
     
    void
    mojoStarted(org.apache.maven.execution.ExecutionEvent event)
    --- mojo-artifactId:version:goal (mojo-executionId) @ project-artifactId ---
    void
    sessionEnded(org.apache.maven.execution.ExecutionEvent event)
     

    Methods inherited from class org.apache.maven.cli.event.ExecutionEventLogger

    forkedProjectStarted, forkStarted, forkSucceeded, mojoSkipped, projectDiscoveryStarted, projectSkipped, projectStarted, sessionStarted

    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 Details

    • ExecutionEventLogger

      public ExecutionEventLogger()
    • ExecutionEventLogger

      @Deprecated public ExecutionEventLogger(org.slf4j.Logger logger)
      Deprecated.
    • ExecutionEventLogger

      public ExecutionEventLogger(org.slf4j.Logger logger, String mojoNote)
  • Method Details

    • 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.cli.event.ExecutionEventLogger
    • 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.cli.event.ExecutionEventLogger
    • formatTimestamp

      public static String formatTimestamp(long timestamp)