org.camunda.bpm.dmn.engine.hitpolicy
Interface DmnHitPolicyHandler

All Known Implementing Classes:
AnyHitPolicyHandler, CollectHitPolicyHandler, FirstHitPolicyHandler, OutputOrderHitPolicyHandler, PriorityHitPolicyHandler, RuleOrderHitPolicyHandler, UniqueHitPolicyHandler

public interface DmnHitPolicyHandler


Method Summary
 DmnDecisionTableResult apply(DmnDecisionTable decisionTable, DmnDecisionTableResult decisionTableResult)
          Applies hit policy.
 

Method Detail

apply

DmnDecisionTableResult apply(DmnDecisionTable decisionTable,
                             DmnDecisionTableResult decisionTableResult)
Applies hit policy. Depending on the hit policy this can mean filtering and sorting of matching rules or aggregating results.

Parameters:
decisionTable - the evaluated decision table
decisionTableResult - the full evaluation result
Returns:
the final evaluation result
Throws:
DmnHitPolicyException - if the hit policy cannot be applied to the decision outputs


Copyright © 2015 camunda services GmbH. All rights reserved.