org.camunda.bpm.dmn.engine.impl.hitpolicy
Class AnyHitPolicyHandler

java.lang.Object
  extended by org.camunda.bpm.dmn.engine.impl.hitpolicy.AnyHitPolicyHandler
All Implemented Interfaces:
DmnHitPolicyHandler

public class AnyHitPolicyHandler
extends Object
implements DmnHitPolicyHandler


Field Summary
static DmnHitPolicyLogger LOG
           
 
Constructor Summary
AnyHitPolicyHandler()
           
 
Method Summary
protected  boolean allOutputsAreEqual(List<DmnDecisionTableRule> matchingRules)
           
 DmnDecisionTableResult apply(DmnDecisionTable decisionTable, DmnDecisionTableResult decisionTableResult)
          Applies hit policy.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

LOG

public static final DmnHitPolicyLogger LOG
Constructor Detail

AnyHitPolicyHandler

public AnyHitPolicyHandler()
Method Detail

apply

public DmnDecisionTableResult apply(DmnDecisionTable decisionTable,
                                    DmnDecisionTableResult decisionTableResult)
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 interface DmnHitPolicyHandler
Parameters:
decisionTable - the evaluated decision table
decisionTableResult - the full evaluation result
Returns:
the final evaluation result

allOutputsAreEqual

protected boolean allOutputsAreEqual(List<DmnDecisionTableRule> matchingRules)


Copyright © 2015 camunda services GmbH. All rights reserved.