Class SignalThrowingEventListener
- java.lang.Object
-
- org.activiti.engine.impl.bpmn.helper.BaseDelegateEventListener
-
- org.activiti.engine.impl.bpmn.helper.SignalThrowingEventListener
-
- All Implemented Interfaces:
ActivitiEventListener
public class SignalThrowingEventListener extends BaseDelegateEventListener
AnActivitiEventListenerthat throws a signal event when an event is dispatched to it.
-
-
Field Summary
Fields Modifier and Type Field Description protected booleanprocessInstanceScopeprotected java.lang.StringsignalName-
Fields inherited from class org.activiti.engine.impl.bpmn.helper.BaseDelegateEventListener
entityClass
-
-
Constructor Summary
Constructors Constructor Description SignalThrowingEventListener()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanisFailOnException()voidonEvent(ActivitiEvent event)Called when an event has been firedvoidsetProcessInstanceScope(boolean processInstanceScope)voidsetSignalName(java.lang.String signalName)-
Methods inherited from class org.activiti.engine.impl.bpmn.helper.BaseDelegateEventListener
isValidEvent, setEntityClass
-
-
-
-
Method Detail
-
onEvent
public void onEvent(ActivitiEvent event)
Description copied from interface:ActivitiEventListenerCalled when an event has been fired- Parameters:
event- the event
-
setSignalName
public void setSignalName(java.lang.String signalName)
-
setProcessInstanceScope
public void setProcessInstanceScope(boolean processInstanceScope)
-
isFailOnException
public boolean isFailOnException()
- Returns:
- whether or not the current operation should fail when this listeners execution throws an exception.
-
-