Class UndefinedTaskProcessor
java.lang.Object
io.camunda.zeebe.engine.processing.bpmn.task.UndefinedTaskProcessor
- All Implemented Interfaces:
BpmnElementProcessor<ExecutableActivity>
- Direct Known Subclasses:
ManualTaskProcessor
public class UndefinedTaskProcessor
extends Object
implements BpmnElementProcessor<ExecutableActivity>
-
Field Summary
Fields inherited from interface io.camunda.zeebe.engine.processing.bpmn.BpmnElementProcessor
SUCCESS -
Constructor Summary
ConstructorsConstructorDescriptionUndefinedTaskProcessor(BpmnBehaviors bpmnBehaviors, BpmnStateTransitionBehavior stateTransitionBehavior) -
Method Summary
Modifier and TypeMethodDescriptionfinalizeActivation(ExecutableActivity element, BpmnElementContext context) Finalizes the activation of the BPMN element.finalizeCompletion(ExecutableActivity element, BpmnElementContext context) Finalizes the completion of the BPMN element.getType()voidonTerminate(ExecutableActivity element, BpmnElementContext context) The element is going to be terminated.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface io.camunda.zeebe.engine.processing.bpmn.BpmnElementProcessor
onActivate, onComplete
-
Constructor Details
-
UndefinedTaskProcessor
public UndefinedTaskProcessor(BpmnBehaviors bpmnBehaviors, BpmnStateTransitionBehavior stateTransitionBehavior)
-
-
Method Details
-
getType
- Specified by:
getTypein interfaceBpmnElementProcessor<ExecutableActivity>- Returns:
- the class that represents the BPMN element
-
finalizeActivation
Description copied from interface:BpmnElementProcessorFinalizes the activation of the BPMN element. This method is invoked after the element has been initialized and activated, ensuring that any additional steps required to fully establish the element's active state are completed.This method is typically invoked after the processing of START Execution Listeners.
- Specified by:
finalizeActivationin interfaceBpmnElementProcessor<ExecutableActivity>- Parameters:
element- the instance of the BPMN element that is executedcontext- process instance-related data of the element that is executed- Returns:
- Eitherinvalid input: '<'Failure, ?> indicating the outcome of the finalize activation attempt
-
finalizeCompletion
Description copied from interface:BpmnElementProcessorFinalizes the completion of the BPMN element. This method is called when the element has finished executing its main behavior and is ready to transition to a completed state.This method is typically invoked after the processing of END Execution Listeners.
- Specified by:
finalizeCompletionin interfaceBpmnElementProcessor<ExecutableActivity>- Parameters:
element- the instance of the BPMN element that is executedcontext- process instance-related data of the element that is executed- Returns:
- Eitherinvalid input: '<'Failure, ?> indicating the outcome of the finalize completion attempt
-
onTerminate
Description copied from interface:BpmnElementProcessorThe 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:
onTerminatein interfaceBpmnElementProcessor<ExecutableActivity>- Parameters:
element- the instance of the BPMN element that is executedcontext- process instance-related data of the element that is executed
-