Class FirstHitPolicyHandler
java.lang.Object
org.camunda.bpm.dmn.engine.impl.hitpolicy.FirstHitPolicyHandler
- All Implemented Interfaces:
DmnHitPolicyHandler
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionapply
(DmnDecisionTableEvaluationEvent decisionTableEvaluationEvent) Applies hit policy.toString()
-
Field Details
-
HIT_POLICY
-
-
Constructor Details
-
FirstHitPolicyHandler
public FirstHitPolicyHandler()
-
-
Method Details
-
apply
public DmnDecisionTableEvaluationEvent apply(DmnDecisionTableEvaluationEvent decisionTableEvaluationEvent) Description copied from interface:DmnHitPolicyHandler
Applies hit policy. Depending on the hit policy this can mean filtering and sorting of matching rules or aggregating results.- Specified by:
apply
in interfaceDmnHitPolicyHandler
- Parameters:
decisionTableEvaluationEvent
- the evaluation event of the decision table- Returns:
- the final evaluation result
-
getHitPolicyEntry
- Specified by:
getHitPolicyEntry
in interfaceDmnHitPolicyHandler
- Returns:
- the implemented hit policy and aggregator
-
toString
-