Class CollectHitPolicyHandler
java.lang.Object
org.camunda.bpm.dmn.engine.impl.hitpolicy.CollectHitPolicyHandler
- 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
-
CollectHitPolicyHandler
public CollectHitPolicyHandler()
-
-
Method Details
-
getHitPolicyEntry
- Specified by:
getHitPolicyEntry
in interfaceDmnHitPolicyHandler
- Returns:
- the implemented hit policy and aggregator
-
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
-
toString
-