org.apache.maven.eventspy
Class AbstractEventSpy
java.lang.Object
   org.apache.maven.eventspy.AbstractEventSpy
org.apache.maven.eventspy.AbstractEventSpy
- All Implemented Interfaces: 
- EventSpy
- public abstract class AbstractEventSpy 
- extends Object- implements EventSpy
A skeleton eventspy that does nothing other than helping implementors.
 
 
 
| Method Summary | 
|  void | close()Notifies the spy of Maven's termination, allowing it to free any resources allocated by it.
 | 
|  void | init(EventSpy.Context context)Initializes the spy.
 | 
|  void | onEvent(Object event)Notifies the spy of some build event/operation.
 | 
 
| Methods inherited from class java.lang.Object | 
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
 
AbstractEventSpy
public AbstractEventSpy()
init
public void init(EventSpy.Context context)
          throws Exception
- Description copied from interface: EventSpy
- Initializes the spy.
 
- 
- Specified by:
- initin interface- EventSpy
 
- 
- Parameters:
- context- The event spy context, never- null.
- Throws:
- Exception
 
onEvent
public void onEvent(Object event)
             throws Exception
- Description copied from interface: EventSpy
- Notifies the spy of some build event/operation.
 
- 
- Specified by:
- onEventin interface- EventSpy
 
- 
- Parameters:
- event- The event, never .
- Throws:
- Exception
- See Also:
- SettingsBuildingRequest,- SettingsBuildingResult,- MavenExecutionRequest,- MavenExecutionResult,- DependencyResolutionRequest,- org.apache.maven.project.DependencyResolutionResultt,- ExecutionEvent,- RepositoryEvent
 
close
public void close()
           throws Exception
- Description copied from interface: EventSpy
- Notifies the spy of Maven's termination, allowing it to free any resources allocated by it.
 
- 
- Specified by:
- closein interface- EventSpy
 
- 
- Throws:
- Exception
 
Copyright © 2001-2012 The Apache Software Foundation. All Rights Reserved.