public class DecisionServiceImpl extends ServiceImpl implements DecisionService
commandExecutor
Constructor and Description |
---|
DecisionServiceImpl() |
Modifier and Type | Method and Description |
---|---|
DecisionEvaluationBuilder |
evaluateDecisionTableById(String decisionDefinitionId)
Returns a fluent builder to evaluate the decision 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 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
.public DecisionEvaluationBuilder evaluateDecisionTableById(String decisionDefinitionId)
DecisionService
evaluateDecisionTableById
in interface DecisionService
decisionDefinitionId
- the id of the decision definition, cannot be null.
Copyright © 2017. All rights reserved.