public interface DecisionEvaluationBuilder
Modifier and Type | Method and Description |
---|---|
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.
|
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.
|
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)
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
.Copyright © 2022. All rights reserved.