org.camunda.bpm.dmn.engine.impl.spi.hitpolicy
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.
apply
DmnDecisionTableEvaluationEvent apply(DmnDecisionTableEvaluationEvent decisionTableEvaluationEvent)
- 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
Copyright © 2017 camunda services GmbH. All rights reserved.