|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface DecisionEvaluationBuilder
Fluent builder to evaluate a decision.
| Method Summary | |
|---|---|
DecisionEvaluationBuilder |
decisionDefinitionTenantId(String tenantId)
Specify the id of the tenant the decision definition belongs to. |
DecisionEvaluationBuilder |
decisionDefinitionWithoutTenantId()
Specify that the decision definition belongs to no tenant. |
org.camunda.bpm.dmn.engine.DmnDecisionTableResult |
evaluate()
Evaluates the decision. |
DecisionEvaluationBuilder |
variables(Map<String,Object> variables)
Set the input values of the decision. |
DecisionEvaluationBuilder |
version(Integer version)
Set the version of the decision definition. |
| Method Detail |
|---|
DecisionEvaluationBuilder decisionDefinitionTenantId(String tenantId)
key and not by id.
DecisionEvaluationBuilder decisionDefinitionWithoutTenantId()
key and not by id.
DecisionEvaluationBuilder version(Integer version)
null then
the latest version is taken.
DecisionEvaluationBuilder variables(Map<String,Object> variables)
org.camunda.bpm.dmn.engine.DmnDecisionTableResult evaluate()
NotFoundException - when no decision definition is deployed with the given id / key.
NotValidException - when the given decision definition id / key is null.
AuthorizationException - if the user has no Permissions.CREATE_INSTANCE permission
on Resources.DECISION_DEFINITION.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||