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