Class DecisionLiteralExpressionEvaluationHandler
- java.lang.Object
-
- org.camunda.bpm.dmn.engine.impl.evaluation.DecisionLiteralExpressionEvaluationHandler
-
- All Implemented Interfaces:
DmnDecisionLogicEvaluationHandler
public class DecisionLiteralExpressionEvaluationHandler extends java.lang.Object implements DmnDecisionLogicEvaluationHandler
-
-
Field Summary
Fields Modifier and Type Field Description protected ExpressionEvaluationHandler
expressionEvaluationHandler
protected java.lang.String
literalExpressionLanguage
-
Constructor Summary
Constructors Constructor Description DecisionLiteralExpressionEvaluationHandler(DefaultDmnEngineConfiguration configuration)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DmnDecisionLogicEvaluationEvent
evaluate(DmnDecision decision, VariableContext variableContext)
Evaluate a decision with the givenVariableContext
.protected java.lang.Object
evaluateLiteralExpression(DmnExpressionImpl expression, VariableContext variableContext)
DmnDecisionResult
generateDecisionResult(DmnDecisionLogicEvaluationEvent event)
Generates the decision evaluation result of the given event.
-
-
-
Field Detail
-
expressionEvaluationHandler
protected final ExpressionEvaluationHandler expressionEvaluationHandler
-
literalExpressionLanguage
protected final java.lang.String literalExpressionLanguage
-
-
Constructor Detail
-
DecisionLiteralExpressionEvaluationHandler
public DecisionLiteralExpressionEvaluationHandler(DefaultDmnEngineConfiguration configuration)
-
-
Method Detail
-
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 java.lang.Object evaluateLiteralExpression(DmnExpressionImpl expression, VariableContext variableContext)
-
generateDecisionResult
public DmnDecisionResult generateDecisionResult(DmnDecisionLogicEvaluationEvent event)
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
-
-