Class EvaluateDecisionCmd
java.lang.Object
org.camunda.bpm.engine.impl.dmn.cmd.EvaluateDecisionCmd
- All Implemented Interfaces:
Command<DmnDecisionResult>
Evaluates the decision 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.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected Stringprotected Stringprotected Stringprotected booleanprotected VariableMapprotected Integer -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected DmnDecisionResultdoEvaluateDecision(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
-
EvaluateDecisionCmd
-
-
Method Details
-
execute
- Specified by:
executein interfaceCommand<DmnDecisionResult>
-
writeUserOperationLog
protected void writeUserOperationLog(CommandContext commandContext, DecisionDefinition decisionDefinition) -
doEvaluateDecision
protected DmnDecisionResult doEvaluateDecision(DecisionDefinition decisionDefinition, VariableMap variables) -
getDecisionDefinition
-
findById
-
findByKey
-