Class SignalThrowingEventListener
java.lang.Object
org.activiti.engine.impl.bpmn.helper.BaseDelegateEventListener
org.activiti.engine.impl.bpmn.helper.SignalThrowingEventListener
- All Implemented Interfaces:
ActivitiEventListener
An
ActivitiEventListener that throws a signal event when an event is dispatched to it.-
Field Summary
FieldsFields inherited from class org.activiti.engine.impl.bpmn.helper.BaseDelegateEventListener
entityClass -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanvoidonEvent(ActivitiEvent event) Called when an event has been firedvoidsetProcessInstanceScope(boolean processInstanceScope) voidsetSignalName(String signalName) Methods inherited from class org.activiti.engine.impl.bpmn.helper.BaseDelegateEventListener
isValidEvent, setEntityClass
-
Field Details
-
signalName
-
processInstanceScope
protected boolean processInstanceScope
-
-
Constructor Details
-
SignalThrowingEventListener
public SignalThrowingEventListener()
-
-
Method Details
-
onEvent
Description copied from interface:ActivitiEventListenerCalled when an event has been fired- Parameters:
event- the event
-
setSignalName
-
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.
-