public class DecisionEvaluationBuilderImpl extends Object implements DecisionsEvaluationBuilder
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 |
---|
DecisionEvaluationBuilderImpl(CommandExecutor commandExecutor) |
protected CommandExecutor commandExecutor
protected String decisionDefinitionKey
protected String decisionDefinitionId
protected Integer version
protected String decisionDefinitionTenantId
protected boolean isTenantIdSet
public DecisionEvaluationBuilderImpl(CommandExecutor commandExecutor)
public DecisionsEvaluationBuilder variables(Map<String,Object> variables)
DecisionsEvaluationBuilder
variables
in interface DecisionsEvaluationBuilder
public DecisionsEvaluationBuilder version(Integer version)
DecisionsEvaluationBuilder
null
then
the latest version is taken.version
in interface DecisionsEvaluationBuilder
public DecisionsEvaluationBuilder decisionDefinitionTenantId(String tenantId)
DecisionsEvaluationBuilder
key
and not by id
.decisionDefinitionTenantId
in interface DecisionsEvaluationBuilder
public DecisionsEvaluationBuilder decisionDefinitionWithoutTenantId()
DecisionsEvaluationBuilder
key
and not by id
.decisionDefinitionWithoutTenantId
in interface DecisionsEvaluationBuilder
public DmnDecisionResult evaluate()
DecisionsEvaluationBuilder
evaluate
in interface DecisionsEvaluationBuilder
public static DecisionsEvaluationBuilder evaluateDecisionByKey(CommandExecutor commandExecutor, String decisionDefinitionKey)
public static DecisionsEvaluationBuilder evaluateDecisionById(CommandExecutor commandExecutor, String decisionDefinitionId)
public String getDecisionDefinitionKey()
public String getDecisionDefinitionId()
public Integer getVersion()
public String getDecisionDefinitionTenantId()
public boolean isTenantIdSet()
Copyright © 2019. All rights reserved.