Class EndEventProcessor
- java.lang.Object
-
- io.camunda.zeebe.engine.processing.bpmn.event.EndEventProcessor
-
- All Implemented Interfaces:
BpmnElementProcessor<ExecutableEndEvent>
public final class EndEventProcessor extends Object implements BpmnElementProcessor<ExecutableEndEvent>
-
-
Constructor Summary
Constructors Constructor Description EndEventProcessor(BpmnBehaviors bpmnBehaviors)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Class<ExecutableEndEvent>
getType()
void
onActivate(ExecutableEndEvent element, BpmnElementContext activating)
The element is about to be entered.void
onTerminate(ExecutableEndEvent element, BpmnElementContext terminating)
The element is going to be terminated.-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface io.camunda.zeebe.engine.processing.bpmn.BpmnElementProcessor
onComplete
-
-
-
-
Constructor Detail
-
EndEventProcessor
public EndEventProcessor(BpmnBehaviors bpmnBehaviors)
-
-
Method Detail
-
getType
public Class<ExecutableEndEvent> getType()
- Specified by:
getType
in interfaceBpmnElementProcessor<ExecutableEndEvent>
- Returns:
- the class that represents the BPMN element
-
onActivate
public void onActivate(ExecutableEndEvent element, BpmnElementContext activating)
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<ExecutableEndEvent>
- Parameters:
element
- the instance of the BPMN element that is executedactivating
- process instance-related data of the element that is executed
-
onTerminate
public void onTerminate(ExecutableEndEvent element, BpmnElementContext terminating)
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<ExecutableEndEvent>
- Parameters:
element
- the instance of the BPMN element that is executedterminating
- process instance-related data of the element that is executed
-
-