Package org.apache.maven.eventspy
Class AbstractEventSpy
java.lang.Object
org.apache.maven.eventspy.AbstractEventSpy
- All Implemented Interfaces:
EventSpy
- Direct Known Subclasses:
DefaultArtifactHandlerManager
,DefaultPluginValidationManager
,DefaultTypeRegistry
,LegacyArtifactHandlerManager
A skeleton eventspy that does nothing other than helping implementors.
- Since:
- 3.0.2
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.apache.maven.eventspy.EventSpy
EventSpy.Context
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
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
Notifies the spy of some build event/operation.
-
Constructor Details
-
AbstractEventSpy
public AbstractEventSpy()
-
-
Method Details
-
init
Description copied from interface:EventSpy
Initializes the spy. -
onEvent
Description copied from interface:EventSpy
Notifies the spy of some build event/operation. -
close
Description copied from interface:EventSpy
Notifies the spy of Maven's termination, allowing it to free any resources allocated by it.
-