public class DecisionTableEvaluationBuilderImpl extends Object implements DecisionEvaluationBuilder
Modifier and Type | Field and Description |
---|---|
protected CommandExecutor |
commandExecutor |
protected String |
decisionDefinitionId |
protected String |
decisionDefinitionKey |
protected String |
decisionDefinitionTenantId |
protected boolean |
isTenantIdSet |
protected Map<String,Object> |
variables |
protected Integer |
version |
Constructor and Description |
---|
DecisionTableEvaluationBuilderImpl(CommandExecutor commandExecutor) |
protected CommandExecutor commandExecutor
protected String decisionDefinitionKey
protected String decisionDefinitionId
protected Integer version
protected String decisionDefinitionTenantId
protected boolean isTenantIdSet
public DecisionTableEvaluationBuilderImpl(CommandExecutor commandExecutor)
public DecisionEvaluationBuilder variables(Map<String,Object> variables)
DecisionEvaluationBuilder
variables
in interface DecisionEvaluationBuilder
public DecisionEvaluationBuilder version(Integer version)
DecisionEvaluationBuilder
null
then
the latest version is taken.version
in interface DecisionEvaluationBuilder
public DecisionEvaluationBuilder decisionDefinitionTenantId(String tenantId)
DecisionEvaluationBuilder
key
and not by id
.decisionDefinitionTenantId
in interface DecisionEvaluationBuilder
public DecisionEvaluationBuilder decisionDefinitionWithoutTenantId()
DecisionEvaluationBuilder
key
and not by id
.decisionDefinitionWithoutTenantId
in interface DecisionEvaluationBuilder
public DmnDecisionTableResult evaluate()
DecisionEvaluationBuilder
evaluate
in interface DecisionEvaluationBuilder
public static DecisionEvaluationBuilder evaluateDecisionTableByKey(CommandExecutor commandExecutor, String decisionDefinitionKey)
public static DecisionEvaluationBuilder evaluateDecisionTableById(CommandExecutor commandExecutor, String decisionDefinitionId)
public String getDecisionDefinitionKey()
public String getDecisionDefinitionId()
public Integer getVersion()
public String getDecisionDefinitionTenantId()
public boolean isTenantIdSet()
Copyright © 2021. All rights reserved.