Interface DmnHitPolicyHandler
- All Known Implementing Classes:
AbstractCollectNumberHitPolicyHandler
,AnyHitPolicyHandler
,CollectCountHitPolicyHandler
,CollectHitPolicyHandler
,CollectMaxHitPolicyHandler
,CollectMinHitPolicyHandler
,CollectSumHitPolicyHandler
,FirstHitPolicyHandler
,RuleOrderHitPolicyHandler
,UniqueHitPolicyHandler
public interface DmnHitPolicyHandler
Handler for a DMN decision table hit policy.
-
Method Summary
Modifier and TypeMethodDescriptionapply
(DmnDecisionTableEvaluationEvent decisionTableEvaluationEvent) Applies hit policy.
-
Method Details
-
apply
Applies hit policy. Depending on the hit policy this can mean filtering and sorting of matching rules or aggregating results.- Parameters:
decisionTableEvaluationEvent
- the evaluation event of the decision table- Returns:
- the final evaluation result
- Throws:
DmnEngineException
- if the hit policy cannot be applied to the decision outputs
-
getHitPolicyEntry
HitPolicyEntry getHitPolicyEntry()- Returns:
- the implemented hit policy and aggregator
-