EventSpy.Context
Constructor and Description |
---|
AbstractEventSpy() |
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 event)
Notifies the spy of some build event/operation.
|
public void init(EventSpy.Context context) throws Exception
EventSpy
public void onEvent(Object event) throws Exception
EventSpy
onEvent
in interface EventSpy
event
- The event, never null
.Exception
SettingsBuildingRequest
,
SettingsBuildingResult
,
MavenExecutionRequest
,
MavenExecutionResult
,
DependencyResolutionRequest
,
DependencyResolutionResult
,
ExecutionEvent
,
RepositoryEvent
Copyright © 2001–2018 The Apache Software Foundation. All rights reserved.