EventSpy.Context| Constructor | Description |
|---|---|
AbstractEventSpy() |
| Modifier and Type | Method | Description |
|---|---|---|
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(java.lang.Object event) |
Notifies the spy of some build event/operation.
|
public void init(EventSpy.Context context) throws java.lang.Exception
EventSpypublic void onEvent(java.lang.Object event)
throws java.lang.Exception
EventSpyonEvent in interface EventSpyevent - The event, never null.java.lang.ExceptionSettingsBuildingRequest,
SettingsBuildingResult,
MavenExecutionRequest,
MavenExecutionResult,
DependencyResolutionRequest,
DependencyResolutionResult,
ExecutionEvent,
RepositoryEvent