Class EvaluateDecisionTableCmd
- java.lang.Object
-
- org.camunda.bpm.engine.impl.dmn.cmd.EvaluateDecisionTableCmd
-
- All Implemented Interfaces:
Command<org.camunda.bpm.dmn.engine.DmnDecisionTableResult>
public class EvaluateDecisionTableCmd extends Object implements Command<org.camunda.bpm.dmn.engine.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 StringdecisionDefinitionIdprotected StringdecisionDefinitionKeyprotected StringdecisionDefinitionTenantIdprotected booleanisTenandIdSetprotected org.camunda.bpm.engine.variable.VariableMapvariablesprotected Integerversion
-
Constructor Summary
Constructors Constructor Description EvaluateDecisionTableCmd(DecisionTableEvaluationBuilderImpl builder)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected org.camunda.bpm.dmn.engine.DmnDecisionTableResultdoEvaluateDecision(DecisionDefinition decisionDefinition, org.camunda.bpm.engine.variable.VariableMap variables)org.camunda.bpm.dmn.engine.DmnDecisionTableResultexecute(CommandContext commandContext)protected DecisionDefinitionfindById(DeploymentCache deploymentCache)protected DecisionDefinitionfindByKey(DeploymentCache deploymentCache)protected DecisionDefinitiongetDecisionDefinition(CommandContext commandContext)protected voidwriteUserOperationLog(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 String decisionDefinitionKey
-
decisionDefinitionId
protected String decisionDefinitionId
-
version
protected Integer version
-
variables
protected org.camunda.bpm.engine.variable.VariableMap variables
-
decisionDefinitionTenantId
protected String decisionDefinitionTenantId
-
isTenandIdSet
protected boolean isTenandIdSet
-
-
Constructor Detail
-
EvaluateDecisionTableCmd
public EvaluateDecisionTableCmd(DecisionTableEvaluationBuilderImpl builder)
-
-
Method Detail
-
execute
public org.camunda.bpm.dmn.engine.DmnDecisionTableResult execute(CommandContext commandContext)
-
writeUserOperationLog
protected void writeUserOperationLog(CommandContext commandContext, DecisionDefinition decisionDefinition)
-
doEvaluateDecision
protected org.camunda.bpm.dmn.engine.DmnDecisionTableResult doEvaluateDecision(DecisionDefinition decisionDefinition, org.camunda.bpm.engine.variable.VariableMap variables)
-
getDecisionDefinition
protected DecisionDefinition getDecisionDefinition(CommandContext commandContext)
-
findById
protected DecisionDefinition findById(DeploymentCache deploymentCache)
-
findByKey
protected DecisionDefinition findByKey(DeploymentCache deploymentCache)
-
-