Class EvaluateDecisionTableCmd
- java.lang.Object
-
- org.camunda.bpm.engine.impl.dmn.cmd.EvaluateDecisionTableCmd
-
- All Implemented Interfaces:
Command<DmnDecisionTableResult>
public class EvaluateDecisionTableCmd extends java.lang.Object implements Command<DmnDecisionTableResult>
Evaluates the decision table with the given key or id. If the decision definition key given then specify the version and tenant-id. If no version is provided then the latest version is taken.- Author:
- Kristin Polenz
-
-
Field Summary
Fields Modifier and Type Field Description protected java.lang.String
decisionDefinitionId
protected java.lang.String
decisionDefinitionKey
protected java.lang.String
decisionDefinitionTenantId
protected boolean
isTenandIdSet
protected VariableMap
variables
protected java.lang.Integer
version
-
Constructor Summary
Constructors Constructor Description EvaluateDecisionTableCmd(DecisionTableEvaluationBuilderImpl builder)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected DmnDecisionTableResult
doEvaluateDecision(DecisionDefinition decisionDefinition, VariableMap variables)
DmnDecisionTableResult
execute(CommandContext commandContext)
protected DecisionDefinition
findById(DeploymentCache deploymentCache)
protected DecisionDefinition
findByKey(DeploymentCache deploymentCache)
protected DecisionDefinition
getDecisionDefinition(CommandContext commandContext)
protected void
writeUserOperationLog(CommandContext commandContext, DecisionDefinition decisionDefinition)
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.camunda.bpm.engine.impl.interceptor.Command
isRetryable
-
-
-
-
Field Detail
-
decisionDefinitionKey
protected java.lang.String decisionDefinitionKey
-
decisionDefinitionId
protected java.lang.String decisionDefinitionId
-
version
protected java.lang.Integer version
-
variables
protected VariableMap variables
-
decisionDefinitionTenantId
protected java.lang.String decisionDefinitionTenantId
-
isTenandIdSet
protected boolean isTenandIdSet
-
-
Constructor Detail
-
EvaluateDecisionTableCmd
public EvaluateDecisionTableCmd(DecisionTableEvaluationBuilderImpl builder)
-
-
Method Detail
-
execute
public DmnDecisionTableResult execute(CommandContext commandContext)
- Specified by:
execute
in interfaceCommand<DmnDecisionTableResult>
-
writeUserOperationLog
protected void writeUserOperationLog(CommandContext commandContext, DecisionDefinition decisionDefinition)
-
doEvaluateDecision
protected DmnDecisionTableResult doEvaluateDecision(DecisionDefinition decisionDefinition, VariableMap variables)
-
getDecisionDefinition
protected DecisionDefinition getDecisionDefinition(CommandContext commandContext)
-
findById
protected DecisionDefinition findById(DeploymentCache deploymentCache)
-
findByKey
protected DecisionDefinition findByKey(DeploymentCache deploymentCache)
-
-