Class BpmnVariableMappingBehavior
java.lang.Object
io.camunda.zeebe.engine.processing.bpmn.behavior.BpmnVariableMappingBehavior
-
Constructor Summary
ConstructorDescriptionBpmnVariableMappingBehavior
(ExpressionProcessor expressionProcessor, ProcessingState processingState, VariableBehavior variableBehavior, EventTriggerBehavior eventTriggerBehavior) -
Method Summary
Modifier and TypeMethodDescriptionapplyInputMappings
(BpmnElementContext context, ExecutableFlowNode element) Apply the input mappings for a BPMN element.applyOutputMappings
(BpmnElementContext context, ExecutableFlowNode element) Apply the output mappings for a BPMN element.
-
Constructor Details
-
BpmnVariableMappingBehavior
public BpmnVariableMappingBehavior(ExpressionProcessor expressionProcessor, ProcessingState processingState, VariableBehavior variableBehavior, EventTriggerBehavior eventTriggerBehavior)
-
-
Method Details
-
applyInputMappings
public Either<Failure,Void> applyInputMappings(BpmnElementContext context, ExecutableFlowNode element) Apply the input mappings for a BPMN element. Generally called on activating of the element.- Parameters:
context
- The current bpmn element contextelement
- The current bpmn element- Returns:
- either void if successful, otherwise a failure
-
applyOutputMappings
public Either<Failure,Void> applyOutputMappings(BpmnElementContext context, ExecutableFlowNode element) Apply the output mappings for a BPMN element. Generally called on completing of the element.- Parameters:
context
- The current bpmn element contextelement
- The current bpmn element- Returns:
- either void if successful, otherwise a failure
-