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, setCommandExecutor
public DmnDecisionTableResult evaluateDecisionTableById(String decisionDefinitionId, Map<String,Object> variables)
DecisionService
evaluateDecisionTableById
in interface DecisionService
decisionDefinitionId
- 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)
DecisionService
evaluateDecisionTableByKey
in interface DecisionService
decisionDefinitionKey
- 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)
DecisionService
evaluateDecisionTableByKeyAndVersion
in interface DecisionService
decisionDefinitionKey
- 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)
DecisionService
evaluateDecisionTableByKey
in interface DecisionService
decisionDefinitionKey
- the key of the decision definition, cannot be null
.DecisionService.evaluateDecisionByKey(String)
public DecisionEvaluationBuilder evaluateDecisionTableById(String decisionDefinitionId)
DecisionService
evaluateDecisionTableById
in interface DecisionService
decisionDefinitionId
- the id of the decision definition, cannot be null.
DecisionService.evaluateDecisionById(String)
public DecisionsEvaluationBuilder evaluateDecisionByKey(String decisionDefinitionKey)
DecisionService
evaluateDecisionByKey
in interface DecisionService
decisionDefinitionKey
- the key of the decision definition, cannot be null
.public DecisionsEvaluationBuilder evaluateDecisionById(String decisionDefinitionId)
DecisionService
evaluateDecisionById
in interface DecisionService
decisionDefinitionId
- the id of the decision definition, cannot be null.
Copyright © 2020. All rights reserved.