public abstract class EventDispatcher extends java.lang.Object implements EventRegistry, EventNotifier
| Constructor and Description |
|---|
EventDispatcher() |
| Modifier and Type | Method and Description |
|---|---|
java.util.List<EventHandler> |
getRunSpecificEventHandlers(TestRunId testRunId) |
protected abstract void |
invokeEventHandler(TestRunId testRunId,
EventHandler handler,
Event event) |
void |
notify(TestRunId testRunId,
Event event) |
void |
registerHandler(EventHandler handler) |
void |
registerHandler(TestRunId runId,
EventHandler handler) |
void |
unregisterAll(TestRunId runId) |
public void notify(TestRunId testRunId, Event event)
notify in interface EventNotifierpublic java.util.List<EventHandler> getRunSpecificEventHandlers(TestRunId testRunId)
protected abstract void invokeEventHandler(TestRunId testRunId, EventHandler handler, Event event)
public void registerHandler(EventHandler handler)
public void registerHandler(TestRunId runId, EventHandler handler)
registerHandler in interface EventRegistrypublic void unregisterAll(TestRunId runId)
unregisterAll in interface EventRegistry