public interface DecisionService
| Modifier and Type | Method and Description |
|---|---|
DmnDecisionTableResult |
evaluateDecisionTableById(String decisionDefinitionId,
Map<String,Object> variables)
Evaluates the decision with the given id.
|
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.
|
DmnDecisionTableResult evaluateDecisionTableById(String decisionDefinitionId, Map<String,Object> variables)
decisionDefinitionId - the id of the decision definition, cannot be null.variables - the input values of the decision.NotFoundException - when no decision definition is deployed with the given id.NotValidException - when the given case definition id is null.AuthorizationException - if the user has no Permissions.CREATE_INSTANCE permission
on Resources.DECISION_DEFINITION.DmnDecisionTableResult evaluateDecisionTableByKey(String decisionDefinitionKey, Map<String,Object> variables)
decisionDefinitionKey - the key of the decision definition, cannot be null.variables - the input values of the decision.NotFoundException - when no decision definition is deployed with the given key.NotValidException - when the given case definition key is null.AuthorizationException - if the user has no Permissions.CREATE_INSTANCE permission
on Resources.DECISION_DEFINITION.DmnDecisionTableResult evaluateDecisionTableByKeyAndVersion(String decisionDefinitionKey, Integer version, Map<String,Object> variables)
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.NotFoundException - when no decision definition is deployed with the given key and
version.NotValidException - when the given case definition key is null.AuthorizationException - if the user has no Permissions.CREATE_INSTANCE permission
on Resources.DECISION_DEFINITION.Copyright © 2018. All rights reserved.