Package io.zeebe.engine.processing.bpmn
Interface BpmnElementContainerProcessor<T extends ExecutableFlowElement>
-
- Type Parameters:
T- the type that represents the BPMN element
- All Superinterfaces:
BpmnElementProcessor<T>
- All Known Implementing Classes:
CallActivityProcessor,MultiInstanceBodyProcessor,ProcessProcessor,SubProcessProcessor
public interface BpmnElementContainerProcessor<T extends ExecutableFlowElement> extends BpmnElementProcessor<T>
The business logic of an BPMN element container (e.g. a sub-process).The execution of an element is divided into multiple steps that represents the lifecycle of the element. Each step defines a set of actions that can be performed in this step. The transition to the next step must be triggered explicitly in the current step.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidonChildCompleted(T element, BpmnElementContext flowScopeContext, BpmnElementContext childContext)A child element is completed.voidonChildTerminated(T element, BpmnElementContext flowScopeContext, BpmnElementContext childContext)A child element is terminated.-
Methods inherited from interface io.zeebe.engine.processing.bpmn.BpmnElementProcessor
getType, onActivated, onActivating, onCompleted, onCompleting, onEventOccurred, onTerminated, onTerminating
-
-
-
-
Method Detail
-
onChildCompleted
void onChildCompleted(T element, BpmnElementContext flowScopeContext, BpmnElementContext childContext)
A child element is completed. Leave the element container if it has no more active child elements.- Parameters:
element- the instance of the BPMN element containerflowScopeContext- workflow instance-related data of the element containerchildContext- workflow instance-related data of the child element that is completed
-
onChildTerminated
void onChildTerminated(T element, BpmnElementContext flowScopeContext, BpmnElementContext childContext)
A child element is terminated. Terminate the element container if it has no more active child elements. Or, continue with the interrupting event sub-process that was triggered and caused the termination.- Parameters:
element- the instance of the BPMN element containerflowScopeContext- workflow instance-related data of the element containerchildContext- workflow instance-related data of the child element that is terminated
-
-