Package org.camunda.bpm.engine.dmn
Interface DecisionEvaluationBuilder
- 
- All Known Implementing Classes:
- DecisionTableEvaluationBuilderImpl
 
 public interface DecisionEvaluationBuilderFluent builder to evaluate a decision.- Author:
- Kristin Polenz
 
- 
- 
Method SummaryAll Methods Instance Methods Abstract Methods Modifier and Type Method Description DecisionEvaluationBuilderdecisionDefinitionTenantId(String tenantId)Specify the id of the tenant the decision definition belongs to.DecisionEvaluationBuilderdecisionDefinitionWithoutTenantId()Specify that the decision definition belongs to no tenant.DmnDecisionTableResultevaluate()Evaluates the decision.DecisionEvaluationBuildervariables(Map<String,Object> variables)Set the input values of the decision.DecisionEvaluationBuilderversion(Integer version)Set the version of the decision definition.
 
- 
- 
- 
Method Detail- 
decisionDefinitionTenantIdDecisionEvaluationBuilder decisionDefinitionTenantId(String tenantId) Specify the id of the tenant the decision definition belongs to. Can only be used when the definition is referenced bykeyand not byid.
 - 
decisionDefinitionWithoutTenantIdDecisionEvaluationBuilder decisionDefinitionWithoutTenantId() Specify that the decision definition belongs to no tenant. Can only be used when the definition is referenced bykeyand not byid.
 - 
versionDecisionEvaluationBuilder version(Integer version) Set the version of the decision definition. Ifnullthen the latest version is taken.
 - 
variablesDecisionEvaluationBuilder variables(Map<String,Object> variables) Set the input values of the decision.
 - 
evaluateDmnDecisionTableResult evaluate() Evaluates the decision.- Returns:
- the result of the evaluation.
- Throws:
- 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_INSTANCEpermission on- Resources.DECISION_DEFINITION.
 
 
- 
 
-