Interface DmnDecisionLogicEvaluationHandler
-
- All Known Implementing Classes:
DecisionLiteralExpressionEvaluationHandler,DecisionTableEvaluationHandler
public interface DmnDecisionLogicEvaluationHandlerEvaluates decisions with a specific kind of decision logic and generates the result.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description DmnDecisionLogicEvaluationEventevaluate(DmnDecision decision, VariableContext variableContext)Evaluate a decision with the givenVariableContext.DmnDecisionResultgenerateDecisionResult(DmnDecisionLogicEvaluationEvent event)Generates the decision evaluation result of the given event.
-
-
-
Method Detail
-
evaluate
DmnDecisionLogicEvaluationEvent evaluate(DmnDecision decision, VariableContext variableContext)
Evaluate a decision with the givenVariableContext.- Parameters:
decision- the decision to evaluatevariableContext- the available variable context- Returns:
- the event which represents the evaluation
-
generateDecisionResult
DmnDecisionResult generateDecisionResult(DmnDecisionLogicEvaluationEvent event)
Generates the decision evaluation result of the given event.- Parameters:
event- which represents the evaluation- Returns:
- the result of the decision evaluation
-
-