Class DmnBusinessRuleTaskActivityBehavior
- java.lang.Object
-
- org.camunda.bpm.engine.impl.bpmn.behavior.FlowNodeActivityBehavior
-
- org.camunda.bpm.engine.impl.bpmn.behavior.AbstractBpmnActivityBehavior
-
- org.camunda.bpm.engine.impl.bpmn.behavior.DmnBusinessRuleTaskActivityBehavior
-
- All Implemented Interfaces:
CoreActivityBehavior<ActivityExecution>
,ActivityBehavior
,SignallableActivityBehavior
public class DmnBusinessRuleTaskActivityBehavior extends AbstractBpmnActivityBehavior
Implementation of a Bpmn BusinessRuleTask executing a DMN Decision. The decision is resolved as aBaseCallableElement
. The decision is executed in the context of the currentVariableScope
.- Author:
- Daniel Meyer
-
-
Field Summary
Fields Modifier and Type Field Description protected BaseCallableElement
callableElement
protected DecisionResultMapper
decisionResultMapper
protected java.lang.String
resultVariable
-
Fields inherited from class org.camunda.bpm.engine.impl.bpmn.behavior.AbstractBpmnActivityBehavior
LOG
-
Fields inherited from class org.camunda.bpm.engine.impl.bpmn.behavior.FlowNodeActivityBehavior
bpmnActivityBehavior
-
-
Constructor Summary
Constructors Constructor Description DmnBusinessRuleTaskActivityBehavior(BaseCallableElement callableElement, java.lang.String resultVariableName, DecisionResultMapper decisionResultMapper)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
execute(ActivityExecution execution)
Default behaviour: just leave the activity with no extra functionality.-
Methods inherited from class org.camunda.bpm.engine.impl.bpmn.behavior.AbstractBpmnActivityBehavior
createCompensateEventSubscription, doLeave, executeWithErrorPropagation, isCompensationEventSubprocess, signal, signalCompensationDone
-
Methods inherited from class org.camunda.bpm.engine.impl.bpmn.behavior.FlowNodeActivityBehavior
leave, leaveIgnoreConditions
-
-
-
-
Field Detail
-
callableElement
protected final BaseCallableElement callableElement
-
resultVariable
protected final java.lang.String resultVariable
-
decisionResultMapper
protected final DecisionResultMapper decisionResultMapper
-
-
Constructor Detail
-
DmnBusinessRuleTaskActivityBehavior
public DmnBusinessRuleTaskActivityBehavior(BaseCallableElement callableElement, java.lang.String resultVariableName, DecisionResultMapper decisionResultMapper)
-
-
Method Detail
-
execute
public void execute(ActivityExecution execution) throws java.lang.Exception
Description copied from class:FlowNodeActivityBehavior
Default behaviour: just leave the activity with no extra functionality.- Specified by:
execute
in interfaceActivityBehavior
- Specified by:
execute
in interfaceCoreActivityBehavior<ActivityExecution>
- Overrides:
execute
in classFlowNodeActivityBehavior
- Throws:
java.lang.Exception
-
-