Class IntermediateCatchEventProcessor
java.lang.Object
io.camunda.zeebe.engine.processing.bpmn.event.IntermediateCatchEventProcessor
- All Implemented Interfaces:
BpmnElementProcessor<ExecutableCatchEventElement>
public class IntermediateCatchEventProcessor
extends Object
implements BpmnElementProcessor<ExecutableCatchEventElement>
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetType()
void
onActivate
(ExecutableCatchEventElement element, BpmnElementContext activating) The element is about to be entered.void
onComplete
(ExecutableCatchEventElement element, BpmnElementContext completing) The element is going to be left.void
onTerminate
(ExecutableCatchEventElement element, BpmnElementContext terminating) The element is going to be terminated.
-
Constructor Details
-
IntermediateCatchEventProcessor
-
-
Method Details
-
getType
- Specified by:
getType
in interfaceBpmnElementProcessor<ExecutableCatchEventElement>
- Returns:
- the class that represents the BPMN element
-
onActivate
Description copied from interface:BpmnElementProcessor
The element is about to be entered. Perform every action to initialize and activate the element.If the element is a wait-state (i.e. it is waiting for an event or an external trigger) then it is waiting after this step to continue. Otherwise, it continues directly to the next step.
Possible actions:
- apply input mappings
- open event subscriptions
- initialize child elements - if the element is a container (e.g. a sub-process)
- activating - the element is initialized
- activated - if no incidents raised
- complete - if no incidents raised & not a wait-state.
- Specified by:
onActivate
in interfaceBpmnElementProcessor<ExecutableCatchEventElement>
- Parameters:
element
- the instance of the BPMN element that is executedactivating
- process instance-related data of the element that is executed
-
onComplete
Description copied from interface:BpmnElementProcessor
The element is going to be left. Perform every action to leave the element and continue with the next element.Possible actions:
- apply output mappings
- close event subscriptions
- take outgoing sequence flows - if any
- continue with parent element - if no outgoing sequence flows
- clean up the state
- Specified by:
onComplete
in interfaceBpmnElementProcessor<ExecutableCatchEventElement>
- Parameters:
element
- the instance of the BPMN element that is executedcompleting
- process instance-related data of the element that is executed
-
onTerminate
Description copied from interface:BpmnElementProcessor
The element is going to be terminated. Perform every action to terminate the element and continue with the element that caused the termination (e.g. the triggered boundary event).Possible actions:
- close event subscriptions
- resolve incidents
- activate the triggered boundary event - if any
- activate the triggered event sub-process - if any
- continue with parent element
- clean up the state
- Specified by:
onTerminate
in interfaceBpmnElementProcessor<ExecutableCatchEventElement>
- Parameters:
element
- the instance of the BPMN element that is executedterminating
- process instance-related data of the element that is executed
-