org.hudsonci.maven.eventspy_30
Class RecordingEventSpy
java.lang.Object
org.apache.maven.eventspy.AbstractEventSpy
org.hudsonci.maven.eventspy_30.EventSpySupport
org.hudsonci.maven.eventspy_30.RecordingEventSpy
- All Implemented Interfaces:
- org.apache.maven.eventspy.EventSpy
@Named
public class RecordingEventSpy
- extends EventSpySupport
Records invocations on Callback.
- Since:
- 2.1.0
- Author:
- Jason Dillon
| Nested classes/interfaces inherited from interface org.apache.maven.eventspy.EventSpy |
org.apache.maven.eventspy.EventSpy.Context |
|
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 |
RecordingEventSpy
public RecordingEventSpy()
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 EventSpySupport
- Throws:
Exception
close
public void close()
throws Exception
- Specified by:
close in interface org.apache.maven.eventspy.EventSpy- Overrides:
close in class EventSpySupport
- 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
Copyright © 2004-2011 Hudson. All Rights Reserved.