Class EventSpyDispatcher
- java.lang.Object
-
- org.apache.maven.eventspy.internal.EventSpyDispatcher
-
@Component(role=EventSpyDispatcher.class) public class EventSpyDispatcher extends 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 ExecutionListener
chainListener(ExecutionListener listener)
org.eclipse.aether.RepositoryListener
chainListener(org.eclipse.aether.RepositoryListener listener)
void
close()
List<EventSpy>
getEventSpies()
void
init(EventSpy.Context context)
void
onEvent(Object event)
void
setEventSpies(List<EventSpy> eventSpies)
-
-
-
Method Detail
-
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(Object event)
-
close
public void close()
-
-