|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.maven.eventspy.AbstractEventSpy
public abstract class AbstractEventSpy
A skeleton eventspy that does nothing other than helping implementors.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from interface org.apache.maven.eventspy.EventSpy |
|---|
EventSpy.Context |
| Constructor Summary | |
|---|---|
AbstractEventSpy()
|
|
| Method Summary | |
|---|---|
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. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AbstractEventSpy()
| Method Detail |
|---|
public void init(EventSpy.Context context)
throws java.lang.Exception
EventSpy
init in interface EventSpycontext - The event spy context, never null.
java.lang.Exception
public void onEvent(java.lang.Object event)
throws java.lang.Exception
EventSpy
onEvent in interface EventSpyevent - The event, never .
java.lang.ExceptionSettingsBuildingRequest,
SettingsBuildingResult,
MavenExecutionRequest,
MavenExecutionResult,
DependencyResolutionRequest,
org.apache.maven.project.DependencyResolutionResultt,
ExecutionEvent,
RepositoryEvent
public void close()
throws java.lang.Exception
EventSpy
close in interface EventSpyjava.lang.Exception
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||