Class SignalThrowingEventListener
- java.lang.Object
-
- org.flowable.common.engine.api.delegate.event.AbstractFlowableEventListener
-
- org.flowable.engine.impl.bpmn.helper.BaseDelegateEventListener
-
- org.flowable.engine.impl.bpmn.helper.SignalThrowingEventListener
-
- All Implemented Interfaces:
FlowableEventListener
public class SignalThrowingEventListener extends BaseDelegateEventListener
AnFlowableEventListenerthat throws a signal event when an event is dispatched to it.- Author:
- Frederik Heremans
-
-
Field Summary
Fields Modifier and Type Field Description protected booleanprocessInstanceScopeprotected StringsignalName-
Fields inherited from class org.flowable.engine.impl.bpmn.helper.BaseDelegateEventListener
entityClass
-
Fields inherited from class org.flowable.common.engine.api.delegate.event.AbstractFlowableEventListener
onTransaction
-
-
Constructor Summary
Constructors Constructor Description SignalThrowingEventListener()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanisFailOnException()voidonEvent(FlowableEvent event)voidsetProcessInstanceScope(boolean processInstanceScope)voidsetSignalName(String signalName)-
Methods inherited from class org.flowable.engine.impl.bpmn.helper.BaseDelegateEventListener
getEntityClass, isValidEvent, setEntityClass
-
Methods inherited from class org.flowable.common.engine.api.delegate.event.AbstractFlowableEventListener
getOnTransaction, isFireOnTransactionLifecycleEvent, setOnTransaction
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.flowable.common.engine.api.delegate.event.FlowableEventListener
getTypes
-
-
-
-
Field Detail
-
signalName
protected String signalName
-
processInstanceScope
protected boolean processInstanceScope
-
-
Method Detail
-
onEvent
public void onEvent(FlowableEvent event)
-
setSignalName
public void setSignalName(String signalName)
-
setProcessInstanceScope
public void setProcessInstanceScope(boolean processInstanceScope)
-
isFailOnException
public boolean isFailOnException()
-
-