Class IntermediateCatchEventActivityBehavior
- java.lang.Object
-
- org.activiti.engine.impl.bpmn.behavior.FlowNodeActivityBehavior
-
- org.activiti.engine.impl.bpmn.behavior.AbstractBpmnActivityBehavior
-
- org.activiti.engine.impl.bpmn.behavior.IntermediateCatchEventActivityBehavior
-
- All Implemented Interfaces:
java.io.Serializable,ActivityBehavior,TriggerableActivityBehavior
- Direct Known Subclasses:
IntermediateCatchMessageEventActivityBehavior,IntermediateCatchSignalEventActivityBehavior,IntermediateCatchTimerEventActivityBehavior
public class IntermediateCatchEventActivityBehavior extends AbstractBpmnActivityBehavior
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class org.activiti.engine.impl.bpmn.behavior.AbstractBpmnActivityBehavior
multiInstanceActivityBehavior
-
Fields inherited from class org.activiti.engine.impl.bpmn.behavior.FlowNodeActivityBehavior
bpmnActivityBehavior
-
-
Constructor Summary
Constructors Constructor Description IntermediateCatchEventActivityBehavior()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voiddeleteOtherEventsRelatedToEventBasedGateway(DelegateExecution execution, org.activiti.bpmn.model.EventGateway eventGateway)voideventCancelledByEventGateway(DelegateExecution execution)Should be subclassed by the more specific types.voidexecute(DelegateExecution execution)Default behaviour: just leave the activity with no extra functionality.protected org.activiti.bpmn.model.EventGatewaygetPrecedingEventBasedGateway(DelegateExecution execution)voidleaveIntermediateCatchEvent(DelegateExecution execution)Specific leave method for intermediate events: does a normal leave(), except when behind an event based gateway.voidtrigger(DelegateExecution execution, java.lang.String signalName, java.lang.Object signalData)-
Methods inherited from class org.activiti.engine.impl.bpmn.behavior.AbstractBpmnActivityBehavior
executeCompensateBoundaryEvents, findBoundaryEventsForFlowNode, getMultiInstanceActivityBehavior, getProcessDefinition, hasLoopCharacteristics, hasMultiInstanceCharacteristics, leave, setMultiInstanceActivityBehavior
-
Methods inherited from class org.activiti.engine.impl.bpmn.behavior.FlowNodeActivityBehavior
leaveIgnoreConditions, parseActivityType
-
-
-
-
Method Detail
-
execute
public void execute(DelegateExecution execution)
Description copied from class:FlowNodeActivityBehaviorDefault behaviour: just leave the activity with no extra functionality.- Specified by:
executein interfaceActivityBehavior- Overrides:
executein classFlowNodeActivityBehavior
-
trigger
public void trigger(DelegateExecution execution, java.lang.String signalName, java.lang.Object signalData)
- Specified by:
triggerin interfaceTriggerableActivityBehavior- Overrides:
triggerin classFlowNodeActivityBehavior
-
leaveIntermediateCatchEvent
public void leaveIntermediateCatchEvent(DelegateExecution execution)
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
public void eventCancelledByEventGateway(DelegateExecution execution)
Should be subclassed by the more specific types. For an intermediate catch without type, it's simply leaving the event.
-
getPrecedingEventBasedGateway
protected org.activiti.bpmn.model.EventGateway getPrecedingEventBasedGateway(DelegateExecution execution)
-
deleteOtherEventsRelatedToEventBasedGateway
protected void deleteOtherEventsRelatedToEventBasedGateway(DelegateExecution execution, org.activiti.bpmn.model.EventGateway eventGateway)
-
-