EventSpy.Context| Modifier and Type | Method and 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(Object arg)
Notifies the spy of some build event/operation.
|
public void init(EventSpy.Context context) throws Exception
EventSpypublic void onEvent(Object arg) throws Exception
EventSpyonEvent in interface EventSpyarg - The event, never null.ExceptionSettingsBuildingRequest,
SettingsBuildingResult,
MavenExecutionRequest,
MavenExecutionResult,
DependencyResolutionRequest,
DependencyResolutionResult,
ExecutionEvent,
RepositoryEventCopyright © 2001–2022 The Apache Software Foundation. All rights reserved.