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.


Method Summary
 DmnDecisionTableEvaluationEvent apply(DmnDecisionTableEvaluationEvent decisionTableEvaluationEvent)
          Applies hit policy.
 

Method Detail

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


Copyright © 2016 camunda services GmbH. All rights reserved.