public class DefaultEventDispatcher extends Object implements EventDispatcher
JibEvents to event handlers.| Constructor and Description |
|---|
DefaultEventDispatcher(EventHandlers eventHandlers)
Creates an instance from
Handlers in an EventHandlers. |
| Modifier and Type | Method and Description |
|---|---|
void |
dispatch(JibEvent jibEvent)
Dispatches
jibEvent to all the handlers that can handle it. |
public DefaultEventDispatcher(EventHandlers eventHandlers)
Handlers in an EventHandlers.eventHandlers - the EventHandlers to get the Handlers frompublic void dispatch(JibEvent jibEvent)
jibEvent to all the handlers that can handle it.dispatch in interface EventDispatcherjibEvent - the JibEvent to dispatchCopyright © 2019. All rights reserved.