|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface DecisionService
Service to evaluate decisions inside the DMN engine.
| Method Summary | |
|---|---|
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. |
org.camunda.bpm.dmn.engine.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. |
org.camunda.bpm.dmn.engine.DmnDecisionTableResult |
evaluateDecisionTableByKey(String decisionDefinitionKey,
Map<String,Object> variables)
Evaluates the decision with the given key in the latest version. |
org.camunda.bpm.dmn.engine.DmnDecisionTableResult |
evaluateDecisionTableByKeyAndVersion(String decisionDefinitionKey,
Integer version,
Map<String,Object> variables)
Evaluates the decision with the given key in the specified version. |
| Method Detail |
|---|
org.camunda.bpm.dmn.engine.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 decision definition id is null.
AuthorizationException - if the user has no Permissions.CREATE_INSTANCE permission
on Resources.DECISION_DEFINITION.
org.camunda.bpm.dmn.engine.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 decision definition key is null.
AuthorizationException - if the user has no Permissions.CREATE_INSTANCE permission
on Resources.DECISION_DEFINITION.
org.camunda.bpm.dmn.engine.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 decision definition key is null.
AuthorizationException - if the user has no Permissions.CREATE_INSTANCE permission
on Resources.DECISION_DEFINITION.DecisionEvaluationBuilder evaluateDecisionTableByKey(String decisionDefinitionKey)
decisionDefinitionKey - the key of the decision definition, cannot be null.
evaluateDecisionByKey(String)DecisionEvaluationBuilder evaluateDecisionTableById(String decisionDefinitionId)
decisionDefinitionId - the id of the decision definition, cannot be null.
- Returns:
- a builder to evaluate a decision table
- See Also:
evaluateDecisionById(String)DecisionsEvaluationBuilder evaluateDecisionByKey(String decisionDefinitionKey)
decisionDefinitionKey - the key of the decision definition, cannot be null.
DecisionsEvaluationBuilder evaluateDecisionById(String decisionDefinitionId)
decisionDefinitionId - the id of the decision definition, cannot be null.
- Returns:
- a builder to evaluate a decision
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||