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
Modifier and TypeFieldDescriptionprotected String
protected String
protected String
protected boolean
protected VariableMap
protected Integer
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected DmnDecisionResult
doEvaluateDecision
(DecisionDefinition decisionDefinition, VariableMap variables) 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 Details
-
decisionDefinitionKey
-
decisionDefinitionId
-
version
-
variables
-
decisionDefinitionTenantId
-
isTenandIdSet
protected boolean isTenandIdSet
-
-
Constructor Details
-
EvaluateDecisionCmd
-
-
Method Details
-
execute
- Specified by:
execute
in interfaceCommand<DmnDecisionResult>
-
writeUserOperationLog
protected void writeUserOperationLog(CommandContext commandContext, DecisionDefinition decisionDefinition) -
doEvaluateDecision
protected DmnDecisionResult doEvaluateDecision(DecisionDefinition decisionDefinition, VariableMap variables) -
getDecisionDefinition
-
findById
-
findByKey
-