Package org.camunda.bpm.engine.impl
Class DecisionServiceImpl
java.lang.Object
org.camunda.bpm.engine.impl.ServiceImpl
org.camunda.bpm.engine.impl.DecisionServiceImpl
- All Implemented Interfaces:
- DecisionService
- Author:
- Philipp Ossler
- 
Field SummaryFields inherited from class org.camunda.bpm.engine.impl.ServiceImplcommandExecutor
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionevaluateDecisionById(String decisionDefinitionId) Returns a fluent builder to evaluate the decision with the given id.evaluateDecisionByKey(String decisionDefinitionKey) Returns a fluent builder to evaluate the decision with the given key.evaluateDecisionTableById(String decisionDefinitionId) Returns a fluent builder to evaluate the decision table with the given id.evaluateDecisionTableById(String decisionDefinitionId, Map<String, Object> variables) Evaluates the decision with the given id.evaluateDecisionTableByKey(String decisionDefinitionKey) Returns a fluent builder to evaluate the decision table with the given key.evaluateDecisionTableByKey(String decisionDefinitionKey, Map<String, Object> variables) Evaluates the decision with the given key in the latest version.evaluateDecisionTableByKeyAndVersion(String decisionDefinitionKey, Integer version, Map<String, Object> variables) Evaluates the decision with the given key in the specified version.Methods inherited from class org.camunda.bpm.engine.impl.ServiceImplgetCommandExecutor, setCommandExecutor
- 
Constructor Details- 
DecisionServiceImplpublic DecisionServiceImpl()
 
- 
- 
Method Details- 
evaluateDecisionTableByIdpublic DmnDecisionTableResult evaluateDecisionTableById(String decisionDefinitionId, Map<String, Object> variables) Description copied from interface:DecisionServiceEvaluates the decision with the given id.- Specified by:
- evaluateDecisionTableByIdin interface- DecisionService
- Parameters:
- decisionDefinitionId- the id of the decision definition, cannot be null.
- variables- the input values of the decision.
- Returns:
- the result of the evaluation.
 
- 
evaluateDecisionTableByKeypublic DmnDecisionTableResult evaluateDecisionTableByKey(String decisionDefinitionKey, Map<String, Object> variables) Description copied from interface:DecisionServiceEvaluates the decision with the given key in the latest version.- Specified by:
- evaluateDecisionTableByKeyin interface- DecisionService
- Parameters:
- decisionDefinitionKey- the key of the decision definition, cannot be null.
- variables- the input values of the decision.
- Returns:
- the result of the evaluation.
 
- 
evaluateDecisionTableByKeyAndVersionpublic DmnDecisionTableResult evaluateDecisionTableByKeyAndVersion(String decisionDefinitionKey, Integer version, Map<String, Object> variables) Description copied from interface:DecisionServiceEvaluates the decision with the given key in the specified version. If no version is provided then the latest version of the decision definition is taken.- Specified by:
- evaluateDecisionTableByKeyAndVersionin interface- DecisionService
- Parameters:
- decisionDefinitionKey- the key of the decision definition, cannot be null.
- version- the version of the decision definition. If- nullthen the latest version is taken.
- variables- the input values of the decision.
- Returns:
- the result of the evaluation.
 
- 
evaluateDecisionTableByKeyDescription copied from interface:DecisionServiceReturns a fluent builder to evaluate the decision table with the given key. The builder can be used to set further properties and specify evaluation instructions.- Specified by:
- evaluateDecisionTableByKeyin interface- DecisionService
- Parameters:
- decisionDefinitionKey- the key of the decision definition, cannot be- null.
- Returns:
- a builder to evaluate a decision table
- See Also:
 
- 
evaluateDecisionTableByIdDescription copied from interface:DecisionServiceReturns a fluent builder to evaluate the decision table with the given id. The builder can be used to set further properties and specify evaluation instructions.- Specified by:
- evaluateDecisionTableByIdin interface- DecisionService
- Parameters:
- decisionDefinitionId- the id of the decision definition, cannot be- null- .
- Returns:
- a builder to evaluate a decision table
- See Also:
 
- 
evaluateDecisionByKeyDescription copied from interface:DecisionServiceReturns a fluent builder to evaluate the decision with the given key. The builder can be used to set further properties and specify evaluation instructions.- Specified by:
- evaluateDecisionByKeyin interface- DecisionService
- Parameters:
- decisionDefinitionKey- the key of the decision definition, cannot be- null.
- Returns:
- a builder to evaluate a decision
 
- 
evaluateDecisionByIdDescription copied from interface:DecisionServiceReturns a fluent builder to evaluate the decision with the given id. The builder can be used to set further properties and specify evaluation instructions.- Specified by:
- evaluateDecisionByIdin interface- DecisionService
- Parameters:
- decisionDefinitionId- the id of the decision definition, cannot be- null- .
- Returns:
- a builder to evaluate a decision
 
 
-