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
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 DecisionsEvaluationBuilder
evaluateDecisionById
(CommandExecutor commandExecutor, String decisionDefinitionId) static DecisionsEvaluationBuilder
evaluateDecisionByKey
(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
-
DecisionEvaluationBuilderImpl
-
-
Method Details
-
variables
Description copied from interface:DecisionsEvaluationBuilder
Set the input values of the decision.- Specified by:
variables
in interfaceDecisionsEvaluationBuilder
-
version
Description copied from interface:DecisionsEvaluationBuilder
Set the version of the decision definition. Ifnull
then the latest version is taken.- Specified by:
version
in interfaceDecisionsEvaluationBuilder
-
decisionDefinitionTenantId
Description copied from interface:DecisionsEvaluationBuilder
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 interfaceDecisionsEvaluationBuilder
-
decisionDefinitionWithoutTenantId
Description copied from interface:DecisionsEvaluationBuilder
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 interfaceDecisionsEvaluationBuilder
-
evaluate
Description copied from interface:DecisionsEvaluationBuilder
Evaluates the decision.- Specified by:
evaluate
in 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()
-