Class EvaluateDecisionTableCmd
java.lang.Object
org.camunda.bpm.engine.impl.dmn.cmd.EvaluateDecisionTableCmd
- All Implemented Interfaces:
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
FieldsModifier and TypeFieldDescriptionprotected Stringprotected Stringprotected Stringprotected booleanprotected VariableMapprotected Integer -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected DmnDecisionTableResultdoEvaluateDecision(DecisionDefinition decisionDefinition, VariableMap variables) execute(CommandContext commandContext) protected DecisionDefinitionfindById(DeploymentCache deploymentCache) protected DecisionDefinitionfindByKey(DeploymentCache deploymentCache) protected DecisionDefinitiongetDecisionDefinition(CommandContext commandContext) protected voidwriteUserOperationLog(CommandContext commandContext, DecisionDefinition decisionDefinition)
-
Field Details
-
decisionDefinitionKey
-
decisionDefinitionId
-
version
-
variables
-
decisionDefinitionTenantId
-
isTenandIdSet
protected boolean isTenandIdSet
-
-
Constructor Details
-
EvaluateDecisionTableCmd
-
-
Method Details
-
execute
- Specified by:
executein interfaceCommand<DmnDecisionTableResult>
-
writeUserOperationLog
protected void writeUserOperationLog(CommandContext commandContext, DecisionDefinition decisionDefinition) -
doEvaluateDecision
protected DmnDecisionTableResult doEvaluateDecision(DecisionDefinition decisionDefinition, VariableMap variables) -
getDecisionDefinition
-
findById
-
findByKey
-