@Component(role=org.apache.maven.eventspy.EventSpy.class, hint="demo") public class EventSpyDemo extends AbstractEventSpy
Notice: event spies are not activated from POM build extensions.
EventSpy.Context
Constructor and Description |
---|
EventSpyDemo() |
Modifier and Type | Method and Description |
---|---|
void |
close() |
void |
init(EventSpy.Context context) |
void |
onEvent(Object event) |
public void init(EventSpy.Context context) throws Exception
init
in interface EventSpy
init
in class AbstractEventSpy
Exception
public void onEvent(Object event) throws Exception
onEvent
in interface EventSpy
onEvent
in class AbstractEventSpy
Exception
Copyright © 2002–2020 The Apache Software Foundation. All rights reserved.