Package org.camunda.bpm.engine.impl.util
Class DecisionEvaluationUtil
- java.lang.Object
-
- org.camunda.bpm.engine.impl.util.DecisionEvaluationUtil
-
public class DecisionEvaluationUtil extends java.lang.Object
- Author:
- Roman Smirnov
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
DECISION_RESULT_VARIABLE
-
Constructor Summary
Constructors Constructor Description DecisionEvaluationUtil()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description protected 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, java.lang.String defaultTenantId, BaseCallableElement callableElement, java.lang.String resultVariable, DecisionResultMapper decisionResultMapper)
static DmnDecisionResult
evaluateDecision(DecisionDefinition decisionDefinition, VariableMap variables)
static DmnDecisionTableResult
evaluateDecisionTable(DecisionDefinition decisionDefinition, VariableMap variables)
static DecisionResultMapper
getDecisionResultMapperForName(java.lang.String mapDecisionResult)
protected static void
invoke(DecisionInvocation invocation)
protected static DecisionDefinition
resolveDecisionDefinition(BaseCallableElement callableElement, AbstractVariableScope execution, java.lang.String defaultTenantId)
-
-
-
Field Detail
-
DECISION_RESULT_VARIABLE
public static final java.lang.String DECISION_RESULT_VARIABLE
- See Also:
- Constant Field Values
-
-
Method Detail
-
getDecisionResultMapperForName
public static DecisionResultMapper getDecisionResultMapperForName(java.lang.String mapDecisionResult)
-
evaluateDecision
public static void evaluateDecision(AbstractVariableScope execution, java.lang.String defaultTenantId, BaseCallableElement callableElement, java.lang.String resultVariable, DecisionResultMapper decisionResultMapper) throws java.lang.Exception
- Throws:
java.lang.Exception
-
evaluateDecision
public static DmnDecisionResult evaluateDecision(DecisionDefinition decisionDefinition, VariableMap variables) throws java.lang.Exception
- Throws:
java.lang.Exception
-
evaluateDecisionTable
public static DmnDecisionTableResult evaluateDecisionTable(DecisionDefinition decisionDefinition, VariableMap variables) throws java.lang.Exception
- Throws:
java.lang.Exception
-
invoke
protected static void invoke(DecisionInvocation invocation) throws java.lang.Exception
- Throws:
java.lang.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, java.lang.String defaultTenantId)
-
-