Class DecisionLiteralExpressionEvaluationHandler
java.lang.Object
org.camunda.bpm.dmn.engine.impl.evaluation.DecisionLiteralExpressionEvaluationHandler
- All Implemented Interfaces:
DmnDecisionLogicEvaluationHandler
public class DecisionLiteralExpressionEvaluationHandler
extends Object
implements DmnDecisionLogicEvaluationHandler
-
Field Summary
Modifier and TypeFieldDescriptionprotected final ExpressionEvaluationHandler
protected final String
-
Constructor Summary
ConstructorDescription -
Method Summary
Modifier and TypeMethodDescriptionevaluate
(DmnDecision decision, VariableContext variableContext) Evaluate a decision with the givenVariableContext
.protected Object
evaluateLiteralExpression
(DmnExpressionImpl expression, VariableContext variableContext) Generates the decision evaluation result of the given event.
-
Field Details
-
expressionEvaluationHandler
-
literalExpressionLanguage
-
-
Constructor Details
-
DecisionLiteralExpressionEvaluationHandler
-
-
Method Details
-
evaluate
public DmnDecisionLogicEvaluationEvent evaluate(DmnDecision decision, VariableContext variableContext) Description copied from interface:DmnDecisionLogicEvaluationHandler
Evaluate a decision with the givenVariableContext
.- Specified by:
evaluate
in interfaceDmnDecisionLogicEvaluationHandler
- Parameters:
decision
- the decision to evaluatevariableContext
- the available variable context- Returns:
- the event which represents the evaluation
-
evaluateLiteralExpression
protected Object evaluateLiteralExpression(DmnExpressionImpl expression, VariableContext variableContext) -
generateDecisionResult
Description copied from interface:DmnDecisionLogicEvaluationHandler
Generates the decision evaluation result of the given event.- Specified by:
generateDecisionResult
in interfaceDmnDecisionLogicEvaluationHandler
- Parameters:
event
- which represents the evaluation- Returns:
- the result of the decision evaluation
-