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
FieldsModifier and TypeFieldDescriptionprotected CommandExecutorprotected Stringprotected Stringprotected Stringprotected booleanprotected Integer -
Constructor Summary
Constructors -
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 DecisionEvaluationBuilderevaluateDecisionTableById(CommandExecutor commandExecutor, String decisionDefinitionId) static DecisionEvaluationBuilderevaluateDecisionTableByKey(CommandExecutor commandExecutor, String decisionDefinitionKey) booleanSet 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:DecisionEvaluationBuilderSet the input values of the decision.- Specified by:
variablesin interfaceDecisionEvaluationBuilder
-
version
Description copied from interface:DecisionEvaluationBuilderSet the version of the decision definition. Ifnullthen the latest version is taken.- Specified by:
versionin interfaceDecisionEvaluationBuilder
-
decisionDefinitionTenantId
Description copied from interface:DecisionEvaluationBuilderSpecify the id of the tenant the decision definition belongs to. Can only be used when the definition is referenced bykeyand not byid.- Specified by:
decisionDefinitionTenantIdin interfaceDecisionEvaluationBuilder
-
decisionDefinitionWithoutTenantId
Description copied from interface:DecisionEvaluationBuilderSpecify that the decision definition belongs to no tenant. Can only be used when the definition is referenced bykeyand not byid.- Specified by:
decisionDefinitionWithoutTenantIdin interfaceDecisionEvaluationBuilder
-
evaluate
Description copied from interface:DecisionEvaluationBuilderEvaluates the decision.- Specified by:
evaluatein 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()
-