public class DecisionServiceImpl extends ServiceImpl implements DecisionService
commandExecutor| Constructor and Description |
|---|
DecisionServiceImpl() |
| Modifier and Type | Method and Description |
|---|---|
DecisionsEvaluationBuilder |
evaluateDecisionById(String decisionDefinitionId)
Returns a fluent builder to evaluate the decision with the given id.
|
DecisionsEvaluationBuilder |
evaluateDecisionByKey(String decisionDefinitionKey)
Returns a fluent builder to evaluate the decision with the given key.
|
DecisionEvaluationBuilder |
evaluateDecisionTableById(String decisionDefinitionId)
Returns a fluent builder to evaluate the decision table with the given id.
|
DmnDecisionTableResult |
evaluateDecisionTableById(String decisionDefinitionId,
Map<String,Object> variables)
Evaluates the decision with the given id.
|
DecisionEvaluationBuilder |
evaluateDecisionTableByKey(String decisionDefinitionKey)
Returns a fluent builder to evaluate the decision table with the given key.
|
DmnDecisionTableResult |
evaluateDecisionTableByKey(String decisionDefinitionKey,
Map<String,Object> variables)
Evaluates the decision with the given key in the latest version.
|
DmnDecisionTableResult |
evaluateDecisionTableByKeyAndVersion(String decisionDefinitionKey,
Integer version,
Map<String,Object> variables)
Evaluates the decision with the given key in the specified version.
|
getCommandExecutor, setCommandExecutorpublic DmnDecisionTableResult evaluateDecisionTableById(String decisionDefinitionId, Map<String,Object> variables)
DecisionServiceevaluateDecisionTableById in interface DecisionServicedecisionDefinitionId - the id of the decision definition, cannot be null.variables - the input values of the decision.public DmnDecisionTableResult evaluateDecisionTableByKey(String decisionDefinitionKey, Map<String,Object> variables)
DecisionServiceevaluateDecisionTableByKey in interface DecisionServicedecisionDefinitionKey - the key of the decision definition, cannot be null.variables - the input values of the decision.public DmnDecisionTableResult evaluateDecisionTableByKeyAndVersion(String decisionDefinitionKey, Integer version, Map<String,Object> variables)
DecisionServiceevaluateDecisionTableByKeyAndVersion in interface DecisionServicedecisionDefinitionKey - the key of the decision definition, cannot be null.version - the version of the decision definition. If null then
the latest version is taken.variables - the input values of the decision.public DecisionEvaluationBuilder evaluateDecisionTableByKey(String decisionDefinitionKey)
DecisionServiceevaluateDecisionTableByKey in interface DecisionServicedecisionDefinitionKey - the key of the decision definition, cannot be null.DecisionService.evaluateDecisionByKey(String)public DecisionEvaluationBuilder evaluateDecisionTableById(String decisionDefinitionId)
DecisionServiceevaluateDecisionTableById in interface DecisionServicedecisionDefinitionId - the id of the decision definition, cannot be null.DecisionService.evaluateDecisionById(String)public DecisionsEvaluationBuilder evaluateDecisionByKey(String decisionDefinitionKey)
DecisionServiceevaluateDecisionByKey in interface DecisionServicedecisionDefinitionKey - the key of the decision definition, cannot be null.public DecisionsEvaluationBuilder evaluateDecisionById(String decisionDefinitionId)
DecisionServiceevaluateDecisionById in interface DecisionServicedecisionDefinitionId - the id of the decision definition, cannot be null.Copyright © 2021. All rights reserved.