Package org.camunda.bpm.engine.impl.dmn
Class DecisionEvaluationBuilderImpl
java.lang.Object
org.camunda.bpm.engine.impl.dmn.DecisionEvaluationBuilderImpl
- All Implemented Interfaces:
DecisionsEvaluationBuilder
-
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 DecisionsEvaluationBuilderevaluateDecisionById(CommandExecutor commandExecutor, String decisionDefinitionId) static DecisionsEvaluationBuilderevaluateDecisionByKey(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
-
DecisionEvaluationBuilderImpl
-
-
Method Details
-
variables
Description copied from interface:DecisionsEvaluationBuilderSet the input values of the decision.- Specified by:
variablesin interfaceDecisionsEvaluationBuilder
-
version
Description copied from interface:DecisionsEvaluationBuilderSet the version of the decision definition. Ifnullthen the latest version is taken.- Specified by:
versionin interfaceDecisionsEvaluationBuilder
-
decisionDefinitionTenantId
Description copied from interface:DecisionsEvaluationBuilderSpecify 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 interfaceDecisionsEvaluationBuilder
-
decisionDefinitionWithoutTenantId
Description copied from interface:DecisionsEvaluationBuilderSpecify that the decision definition belongs to no tenant. Can only be used when the definition is referenced bykeyand not byid.- Specified by:
decisionDefinitionWithoutTenantIdin interfaceDecisionsEvaluationBuilder
-
evaluate
Description copied from interface:DecisionsEvaluationBuilderEvaluates the decision.- Specified by:
evaluatein interfaceDecisionsEvaluationBuilder- Returns:
- the result of the evaluation.
-
evaluateDecisionByKey
public static DecisionsEvaluationBuilder evaluateDecisionByKey(CommandExecutor commandExecutor, String decisionDefinitionKey) -
evaluateDecisionById
public static DecisionsEvaluationBuilder evaluateDecisionById(CommandExecutor commandExecutor, String decisionDefinitionId) -
getDecisionDefinitionKey
-
getDecisionDefinitionId
-
getVersion
-
getVariables
-
getDecisionDefinitionTenantId
-
isTenantIdSet
public boolean isTenantIdSet()
-