Package org.camunda.bpm.engine.impl.dmn
Class DecisionEvaluationBuilderImpl
- java.lang.Object
- 
- org.camunda.bpm.engine.impl.dmn.DecisionEvaluationBuilderImpl
 
- 
- All Implemented Interfaces:
- DecisionsEvaluationBuilder
 
 public class DecisionEvaluationBuilderImpl extends java.lang.Object implements DecisionsEvaluationBuilder 
- 
- 
Field SummaryFields Modifier and Type Field Description protected CommandExecutorcommandExecutorprotected java.lang.StringdecisionDefinitionIdprotected java.lang.StringdecisionDefinitionKeyprotected java.lang.StringdecisionDefinitionTenantIdprotected booleanisTenantIdSetprotected java.util.Map<java.lang.String,java.lang.Object>variablesprotected java.lang.Integerversion
 - 
Constructor SummaryConstructors Constructor Description DecisionEvaluationBuilderImpl(CommandExecutor commandExecutor)
 - 
Method SummaryAll Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description DecisionsEvaluationBuilderdecisionDefinitionTenantId(java.lang.String tenantId)Specify the id of the tenant the decision definition belongs to.DecisionsEvaluationBuilderdecisionDefinitionWithoutTenantId()Specify that the decision definition belongs to no tenant.DmnDecisionResultevaluate()Evaluates the decision.static DecisionsEvaluationBuilderevaluateDecisionById(CommandExecutor commandExecutor, java.lang.String decisionDefinitionId)static DecisionsEvaluationBuilderevaluateDecisionByKey(CommandExecutor commandExecutor, java.lang.String decisionDefinitionKey)java.lang.StringgetDecisionDefinitionId()java.lang.StringgetDecisionDefinitionKey()java.lang.StringgetDecisionDefinitionTenantId()java.util.Map<java.lang.String,java.lang.Object>getVariables()java.lang.IntegergetVersion()booleanisTenantIdSet()DecisionsEvaluationBuildervariables(java.util.Map<java.lang.String,java.lang.Object> variables)Set the input values of the decision.DecisionsEvaluationBuilderversion(java.lang.Integer version)Set the version of the decision definition.
 
- 
- 
- 
Field Detail- 
commandExecutorprotected CommandExecutor commandExecutor 
 - 
decisionDefinitionKeyprotected java.lang.String decisionDefinitionKey 
 - 
decisionDefinitionIdprotected java.lang.String decisionDefinitionId 
 - 
versionprotected java.lang.Integer version 
 - 
variablesprotected java.util.Map<java.lang.String,java.lang.Object> variables 
 - 
decisionDefinitionTenantIdprotected java.lang.String decisionDefinitionTenantId 
 - 
isTenantIdSetprotected boolean isTenantIdSet 
 
- 
 - 
Constructor Detail- 
DecisionEvaluationBuilderImplpublic DecisionEvaluationBuilderImpl(CommandExecutor commandExecutor) 
 
- 
 - 
Method Detail- 
variablespublic DecisionsEvaluationBuilder variables(java.util.Map<java.lang.String,java.lang.Object> variables) Description copied from interface:DecisionsEvaluationBuilderSet the input values of the decision.- Specified by:
- variablesin interface- DecisionsEvaluationBuilder
 
 - 
versionpublic DecisionsEvaluationBuilder version(java.lang.Integer version) Description copied from interface:DecisionsEvaluationBuilderSet the version of the decision definition. Ifnullthen the latest version is taken.- Specified by:
- versionin interface- DecisionsEvaluationBuilder
 
 - 
decisionDefinitionTenantIdpublic DecisionsEvaluationBuilder decisionDefinitionTenantId(java.lang.String tenantId) 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 interface- DecisionsEvaluationBuilder
 
 - 
decisionDefinitionWithoutTenantIdpublic DecisionsEvaluationBuilder 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 interface- DecisionsEvaluationBuilder
 
 - 
evaluatepublic DmnDecisionResult evaluate() Description copied from interface:DecisionsEvaluationBuilderEvaluates the decision.- Specified by:
- evaluatein interface- DecisionsEvaluationBuilder
- Returns:
- the result of the evaluation.
 
 - 
evaluateDecisionByKeypublic static DecisionsEvaluationBuilder evaluateDecisionByKey(CommandExecutor commandExecutor, java.lang.String decisionDefinitionKey) 
 - 
evaluateDecisionByIdpublic static DecisionsEvaluationBuilder evaluateDecisionById(CommandExecutor commandExecutor, java.lang.String decisionDefinitionId) 
 - 
getDecisionDefinitionKeypublic java.lang.String getDecisionDefinitionKey() 
 - 
getDecisionDefinitionIdpublic java.lang.String getDecisionDefinitionId() 
 - 
getVersionpublic java.lang.Integer getVersion() 
 - 
getVariablespublic java.util.Map<java.lang.String,java.lang.Object> getVariables() 
 - 
getDecisionDefinitionTenantIdpublic java.lang.String getDecisionDefinitionTenantId() 
 - 
isTenantIdSetpublic boolean isTenantIdSet() 
 
- 
 
-