Class IntermediateCatchEventActivityBehavior
java.lang.Object
org.flowable.engine.impl.bpmn.behavior.FlowNodeActivityBehavior
org.flowable.engine.impl.bpmn.behavior.AbstractBpmnActivityBehavior
org.flowable.engine.impl.bpmn.behavior.IntermediateCatchEventActivityBehavior
- All Implemented Interfaces:
Serializable
,ActivityBehavior
,TriggerableActivityBehavior
- Direct Known Subclasses:
IntermediateCatchConditionalEventActivityBehavior
,IntermediateCatchEventRegistryEventActivityBehavior
,IntermediateCatchMessageEventActivityBehavior
,IntermediateCatchSignalEventActivityBehavior
,IntermediateCatchTimerEventActivityBehavior
,IntermediateCatchVariableListenerEventActivityBehavior
- See Also:
-
Field Summary
Fields inherited from class org.flowable.engine.impl.bpmn.behavior.AbstractBpmnActivityBehavior
multiInstanceActivityBehavior, v5MultiInstanceActivityBehavior
Fields inherited from class org.flowable.engine.impl.bpmn.behavior.FlowNodeActivityBehavior
bpmnActivityBehavior
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected void
deleteOtherEventsRelatedToEventBasedGateway
(DelegateExecution execution, EventGateway eventGateway) void
eventCancelledByEventGateway
(DelegateExecution execution) Should be subclassed by the more specific types.void
execute
(DelegateExecution execution) Default behaviour: just leave the activity with no extra functionality.protected EventGateway
getPrecedingEventBasedGateway
(DelegateExecution execution) void
leaveIntermediateCatchEvent
(DelegateExecution execution) Specific leave method for intermediate events: does a normal leave(), except when behind an event based gateway.void
trigger
(DelegateExecution execution, String signalName, Object signalData) Methods inherited from class org.flowable.engine.impl.bpmn.behavior.AbstractBpmnActivityBehavior
executeCompensateBoundaryEvents, findBoundaryEventsForFlowNode, getMultiInstanceActivityBehavior, getProcessDefinition, getV5MultiInstanceActivityBehavior, hasLoopCharacteristics, hasMultiInstanceCharacteristics, leave, setMultiInstanceActivityBehavior, setV5MultiInstanceActivityBehavior
Methods inherited from class org.flowable.engine.impl.bpmn.behavior.FlowNodeActivityBehavior
leaveIgnoreConditions, parseActivityType
-
Constructor Details
-
IntermediateCatchEventActivityBehavior
public IntermediateCatchEventActivityBehavior()
-
-
Method Details
-
execute
Description copied from class:FlowNodeActivityBehavior
Default behaviour: just leave the activity with no extra functionality.- Specified by:
execute
in interfaceActivityBehavior
- Overrides:
execute
in classFlowNodeActivityBehavior
-
trigger
- Specified by:
trigger
in interfaceTriggerableActivityBehavior
- Overrides:
trigger
in classFlowNodeActivityBehavior
-
leaveIntermediateCatchEvent
Specific leave method for intermediate events: does a normal leave(), except when behind an event based gateway. In that case, the other events are cancelled (we're only supporting the exclusive event based gateway type currently). and the process instance is continued through the triggered event. -
eventCancelledByEventGateway
Should be subclassed by the more specific types. For an intermediate catch without type, it's simply leaving the event. -
getPrecedingEventBasedGateway
-
deleteOtherEventsRelatedToEventBasedGateway
protected void deleteOtherEventsRelatedToEventBasedGateway(DelegateExecution execution, EventGateway eventGateway)
-