Package org.camunda.bpm.engine.impl.util
Class DecisionEvaluationUtil
java.lang.Object
org.camunda.bpm.engine.impl.util.DecisionEvaluationUtil
- Author:
- Roman Smirnov
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected static DecisionInvocation
createInvocation
(DecisionDefinition decisionDefinition, AbstractVariableScope variableScope) protected static DecisionInvocation
createInvocation
(DecisionDefinition decisionDefinition, VariableContext variableContext) protected static DecisionInvocation
createInvocation
(DecisionDefinition decisionDefinition, VariableMap variables) static void
evaluateDecision
(AbstractVariableScope execution, String defaultTenantId, BaseCallableElement callableElement, String resultVariable, DecisionResultMapper decisionResultMapper) static DmnDecisionResult
evaluateDecision
(DecisionDefinition decisionDefinition, VariableMap variables) static DmnDecisionTableResult
evaluateDecisionTable
(DecisionDefinition decisionDefinition, VariableMap variables) static DecisionResultMapper
getDecisionResultMapperForName
(String mapDecisionResult) protected static void
invoke
(DecisionInvocation invocation) protected static DecisionDefinition
resolveDecisionDefinition
(BaseCallableElement callableElement, AbstractVariableScope execution, String defaultTenantId)
-
Field Details
-
DECISION_RESULT_VARIABLE
- See Also:
-
-
Constructor Details
-
DecisionEvaluationUtil
public DecisionEvaluationUtil()
-
-
Method Details
-
getDecisionResultMapperForName
-
evaluateDecision
public static void evaluateDecision(AbstractVariableScope execution, String defaultTenantId, BaseCallableElement callableElement, String resultVariable, DecisionResultMapper decisionResultMapper) throws Exception - Throws:
Exception
-
evaluateDecision
public static DmnDecisionResult evaluateDecision(DecisionDefinition decisionDefinition, VariableMap variables) throws Exception - Throws:
Exception
-
evaluateDecisionTable
public static DmnDecisionTableResult evaluateDecisionTable(DecisionDefinition decisionDefinition, VariableMap variables) throws Exception - Throws:
Exception
-
invoke
- Throws:
Exception
-
createInvocation
protected static DecisionInvocation createInvocation(DecisionDefinition decisionDefinition, VariableMap variables) -
createInvocation
protected static DecisionInvocation createInvocation(DecisionDefinition decisionDefinition, AbstractVariableScope variableScope) -
createInvocation
protected static DecisionInvocation createInvocation(DecisionDefinition decisionDefinition, VariableContext variableContext) -
resolveDecisionDefinition
protected static DecisionDefinition resolveDecisionDefinition(BaseCallableElement callableElement, AbstractVariableScope execution, String defaultTenantId)
-