fr.jcgay.maven.profiler
Class ProfilerEventSpy

java.lang.Object
  extended by org.apache.maven.eventspy.AbstractEventSpy
      extended by fr.jcgay.maven.profiler.ProfilerEventSpy
All Implemented Interfaces:
org.apache.maven.eventspy.EventSpy

@Component(role=org.apache.maven.eventspy.EventSpy.class,
           hint="profiler",
           description="Measure times taken by Maven.")
public class ProfilerEventSpy
extends org.apache.maven.eventspy.AbstractEventSpy


Nested Class Summary
 
Nested classes/interfaces inherited from interface org.apache.maven.eventspy.EventSpy
org.apache.maven.eventspy.EventSpy.Context
 
Constructor Summary
ProfilerEventSpy()
           
 
Method Summary
 void close()
           
 void init(org.apache.maven.eventspy.EventSpy.Context context)
           
 void onEvent(Object event)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ProfilerEventSpy

public ProfilerEventSpy()
Method Detail

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


Copyright © 2014–2017. All rights reserved.