Package org.apache.maven.internal.impl
Class EventSpyImpl
java.lang.Object
org.apache.maven.internal.impl.EventSpyImpl
- All Implemented Interfaces:
EventSpy
Bridges between Maven3 events and Maven4 events.
-
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.protected EventType
convert
(ExecutionEvent.Type type) Simple "conversion" from Maven3 event type enum to Maven4 enum.void
init
(EventSpy.Context context) Initializes the spy.void
Notifies the spy of some build event/operation.
-
Constructor Details
-
EventSpyImpl
public EventSpyImpl()
-
-
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. -
convert
Simple "conversion" from Maven3 event type enum to Maven4 enum. -
close
Description copied from interface:EventSpy
Notifies the spy of Maven's termination, allowing it to free any resources allocated by it.
-