public class DecisionLiteralExpressionEvaluationHandler extends Object implements DmnDecisionLogicEvaluationHandler
Modifier and Type | Field and Description |
---|---|
protected ExpressionEvaluationHandler |
expressionEvaluationHandler |
protected String |
literalExpressionLanguage |
Constructor and Description |
---|
DecisionLiteralExpressionEvaluationHandler(DefaultDmnEngineConfiguration configuration) |
Modifier and Type | Method and Description |
---|---|
DmnDecisionLogicEvaluationEvent |
evaluate(DmnDecision decision,
VariableContext variableContext)
Evaluate a decision with the given
VariableContext . |
protected Object |
evaluateLiteralExpression(DmnExpressionImpl expression,
VariableContext variableContext) |
DmnDecisionResult |
generateDecisionResult(DmnDecisionLogicEvaluationEvent event)
Generates the decision evaluation result of the given event.
|
protected final ExpressionEvaluationHandler expressionEvaluationHandler
protected final String literalExpressionLanguage
public DecisionLiteralExpressionEvaluationHandler(DefaultDmnEngineConfiguration configuration)
public DmnDecisionLogicEvaluationEvent evaluate(DmnDecision decision, VariableContext variableContext)
DmnDecisionLogicEvaluationHandler
VariableContext
.evaluate
in interface DmnDecisionLogicEvaluationHandler
decision
- the decision to evaluatevariableContext
- the available variable contextprotected Object evaluateLiteralExpression(DmnExpressionImpl expression, VariableContext variableContext)
public DmnDecisionResult generateDecisionResult(DmnDecisionLogicEvaluationEvent event)
DmnDecisionLogicEvaluationHandler
generateDecisionResult
in interface DmnDecisionLogicEvaluationHandler
event
- which represents the evaluationCopyright © 2021. All rights reserved.