Class EventSpyDispatcher
- java.lang.Object
-
- org.apache.maven.eventspy.internal.EventSpyDispatcher
-
@Component(role=EventSpyDispatcher.class) public class EventSpyDispatcher extends java.lang.Object
Dispatches callbacks to all registered eventspies.- Since:
- 3.0.2
-
-
Constructor Summary
Constructors Constructor Description EventSpyDispatcher()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ExecutionListenerchainListener(ExecutionListener listener)org.eclipse.aether.RepositoryListenerchainListener(org.eclipse.aether.RepositoryListener listener)voidclose()java.util.List<EventSpy>getEventSpies()voidinit(EventSpy.Context context)voidonEvent(java.lang.Object event)voidsetEventSpies(java.util.List<EventSpy> eventSpies)
-
-
-
Method Detail
-
setEventSpies
public void setEventSpies(java.util.List<EventSpy> eventSpies)
-
getEventSpies
public java.util.List<EventSpy> getEventSpies()
-
chainListener
public ExecutionListener chainListener(ExecutionListener listener)
-
chainListener
public org.eclipse.aether.RepositoryListener chainListener(org.eclipse.aether.RepositoryListener listener)
-
init
public void init(EventSpy.Context context)
-
onEvent
public void onEvent(java.lang.Object event)
-
close
public void close()
-
-