Class BuildTimeEventSpy

java.lang.Object
org.apache.maven.eventspy.AbstractEventSpy
org.apache.maven.cli.BuildTimeEventSpy
All Implemented Interfaces:
org.apache.maven.eventspy.EventSpy

@Component(role=org.apache.maven.eventspy.EventSpy.class, hint="timing") public class BuildTimeEventSpy extends org.apache.maven.eventspy.AbstractEventSpy
  • Constructor Details

    • BuildTimeEventSpy

      public BuildTimeEventSpy(org.slf4j.Logger logger, Reporter... reporters)
    • BuildTimeEventSpy

      public BuildTimeEventSpy()
  • Method Details

    • init

      public void init(org.apache.maven.eventspy.EventSpy.Context context) throws Exception
      Specified by:
      init in interface org.apache.maven.eventspy.EventSpy
      Overrides:
      init in class org.apache.maven.eventspy.AbstractEventSpy
      Throws:
      Exception
    • onEvent

      public void onEvent(Object event) throws Exception
      Specified by:
      onEvent in interface org.apache.maven.eventspy.EventSpy
      Overrides:
      onEvent in class org.apache.maven.eventspy.AbstractEventSpy
      Throws:
      Exception
    • close

      public void close() throws Exception
      Specified by:
      close in interface org.apache.maven.eventspy.EventSpy
      Overrides:
      close in class org.apache.maven.eventspy.AbstractEventSpy
      Throws:
      Exception