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

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

public class RuleOrderHitPolicyHandler
extends Object
implements DmnHitPolicyHandler


Field Summary
protected static HitPolicyEntry HIT_POLICY
           
 
Constructor Summary
RuleOrderHitPolicyHandler()
           
 
Method Summary
 DmnDecisionTableEvaluationEvent apply(DmnDecisionTableEvaluationEvent decisionTableEvaluationEvent)
          Applies hit policy.
 HitPolicyEntry getHitPolicyEntry()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

HIT_POLICY

protected static final HitPolicyEntry HIT_POLICY
Constructor Detail

RuleOrderHitPolicyHandler

public RuleOrderHitPolicyHandler()
Method Detail

getHitPolicyEntry

public HitPolicyEntry getHitPolicyEntry()
Specified by:
getHitPolicyEntry in interface DmnHitPolicyHandler
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 interface DmnHitPolicyHandler
Parameters:
decisionTableEvaluationEvent - the evaluation event of the decision table
Returns:
the final evaluation result

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2017 camunda services GmbH. All rights reserved.