Class FlowableEventDispatcherImpl
java.lang.Object
org.flowable.common.engine.impl.event.FlowableEventDispatcherImpl
- All Implemented Interfaces:
FlowableEventDispatcher
Class capable of dispatching events.
- Author:
- Frederik Heremans
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddEventListener(FlowableEventListener listenerToAdd) voidaddEventListener(FlowableEventListener listenerToAdd, FlowableEventType... types) voiddispatchEvent(FlowableEvent event, String engineType) booleanvoidremoveEventListener(FlowableEventListener listenerToRemove) voidsetEnabled(boolean enabled) voidsetEventSupport(FlowableEventSupport eventSupport)
-
Field Details
-
eventSupport
-
enabled
protected boolean enabled
-
-
Constructor Details
-
FlowableEventDispatcherImpl
public FlowableEventDispatcherImpl()
-
-
Method Details
-
setEnabled
public void setEnabled(boolean enabled) - Specified by:
setEnabledin interfaceFlowableEventDispatcher
-
isEnabled
public boolean isEnabled()- Specified by:
isEnabledin interfaceFlowableEventDispatcher
-
addEventListener
- Specified by:
addEventListenerin interfaceFlowableEventDispatcher
-
addEventListener
- Specified by:
addEventListenerin interfaceFlowableEventDispatcher
-
removeEventListener
- Specified by:
removeEventListenerin interfaceFlowableEventDispatcher
-
dispatchEvent
- Specified by:
dispatchEventin interfaceFlowableEventDispatcher
-
getEventSupport
-
setEventSupport
-