Package org.camunda.bpm.engine.impl.dmn
Class DecisionTableEvaluationBuilderImpl
java.lang.Object
org.camunda.bpm.engine.impl.dmn.DecisionTableEvaluationBuilderImpl
- All Implemented Interfaces:
DecisionEvaluationBuilder
- Author:
- Kristin Polenz
-
Field Summary
Modifier and TypeFieldDescriptionprotected CommandExecutor
protected String
protected String
protected String
protected boolean
protected Integer
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiondecisionDefinitionTenantId
(String tenantId) Specify the id of the tenant the decision definition belongs to.Specify that the decision definition belongs to no tenant.evaluate()
Evaluates the decision.static DecisionEvaluationBuilder
evaluateDecisionTableById
(CommandExecutor commandExecutor, String decisionDefinitionId) static DecisionEvaluationBuilder
evaluateDecisionTableByKey
(CommandExecutor commandExecutor, String decisionDefinitionKey) boolean
Set the input values of the decision.Set the version of the decision definition.
-
Field Details
-
commandExecutor
-
decisionDefinitionKey
-
decisionDefinitionId
-
version
-
variables
-
decisionDefinitionTenantId
-
isTenantIdSet
protected boolean isTenantIdSet
-
-
Constructor Details
-
DecisionTableEvaluationBuilderImpl
-
-
Method Details
-
variables
Description copied from interface:DecisionEvaluationBuilder
Set the input values of the decision.- Specified by:
variables
in interfaceDecisionEvaluationBuilder
-
version
Description copied from interface:DecisionEvaluationBuilder
Set the version of the decision definition. Ifnull
then the latest version is taken.- Specified by:
version
in interfaceDecisionEvaluationBuilder
-
decisionDefinitionTenantId
Description copied from interface:DecisionEvaluationBuilder
Specify the id of the tenant the decision definition belongs to. Can only be used when the definition is referenced bykey
and not byid
.- Specified by:
decisionDefinitionTenantId
in interfaceDecisionEvaluationBuilder
-
decisionDefinitionWithoutTenantId
Description copied from interface:DecisionEvaluationBuilder
Specify that the decision definition belongs to no tenant. Can only be used when the definition is referenced bykey
and not byid
.- Specified by:
decisionDefinitionWithoutTenantId
in interfaceDecisionEvaluationBuilder
-
evaluate
Description copied from interface:DecisionEvaluationBuilder
Evaluates the decision.- Specified by:
evaluate
in interfaceDecisionEvaluationBuilder
- Returns:
- the result of the evaluation.
-
evaluateDecisionTableByKey
public static DecisionEvaluationBuilder evaluateDecisionTableByKey(CommandExecutor commandExecutor, String decisionDefinitionKey) -
evaluateDecisionTableById
public static DecisionEvaluationBuilder evaluateDecisionTableById(CommandExecutor commandExecutor, String decisionDefinitionId) -
getDecisionDefinitionKey
-
getDecisionDefinitionId
-
getVersion
-
getVariables
-
getDecisionDefinitionTenantId
-
isTenantIdSet
public boolean isTenantIdSet()
-