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, 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.public DecisionEvaluationBuilder evaluateDecisionTableById(String decisionDefinitionId)
DecisionServiceevaluateDecisionTableById in interface DecisionServicedecisionDefinitionId - the id of the decision definition, cannot be null.Copyright © 2017. All rights reserved.