public class EvaluateDecisionCmd extends Object implements Command<DmnDecisionResult>
Modifier and Type | Field and Description |
---|---|
protected String |
decisionDefinitionId |
protected String |
decisionDefinitionKey |
protected String |
decisionDefinitionTenantId |
protected boolean |
isTenandIdSet |
protected VariableMap |
variables |
protected Integer |
version |
Constructor and Description |
---|
EvaluateDecisionCmd(DecisionEvaluationBuilderImpl builder) |
Modifier and Type | Method and Description |
---|---|
protected DmnDecisionResult |
doEvaluateDecision(DecisionDefinition decisionDefinition,
VariableMap variables) |
DmnDecisionResult |
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) |
protected String decisionDefinitionKey
protected String decisionDefinitionId
protected Integer version
protected VariableMap variables
protected String decisionDefinitionTenantId
protected boolean isTenandIdSet
public EvaluateDecisionCmd(DecisionEvaluationBuilderImpl builder)
public DmnDecisionResult execute(CommandContext commandContext)
execute
in interface Command<DmnDecisionResult>
protected void writeUserOperationLog(CommandContext commandContext, DecisionDefinition decisionDefinition)
protected DmnDecisionResult doEvaluateDecision(DecisionDefinition decisionDefinition, VariableMap variables)
protected DecisionDefinition getDecisionDefinition(CommandContext commandContext)
protected DecisionDefinition findById(DeploymentCache deploymentCache)
protected DecisionDefinition findByKey(DeploymentCache deploymentCache)
Copyright © 2021. All rights reserved.