public class AnyHitPolicyHandler extends Object implements DmnHitPolicyHandler
Modifier and Type | Field and Description |
---|---|
protected static HitPolicyEntry |
HIT_POLICY |
static DmnHitPolicyLogger |
LOG |
Constructor and Description |
---|
AnyHitPolicyHandler() |
Modifier and Type | Method and Description |
---|---|
protected boolean |
allOutputsAreEqual(List<DmnEvaluatedDecisionRule> matchingRules) |
DmnDecisionTableEvaluationEvent |
apply(DmnDecisionTableEvaluationEvent decisionTableEvaluationEvent)
Applies hit policy.
|
HitPolicyEntry |
getHitPolicyEntry() |
String |
toString() |
public static final DmnHitPolicyLogger LOG
protected static final HitPolicyEntry HIT_POLICY
public HitPolicyEntry getHitPolicyEntry()
getHitPolicyEntry
in interface DmnHitPolicyHandler
public DmnDecisionTableEvaluationEvent apply(DmnDecisionTableEvaluationEvent decisionTableEvaluationEvent)
DmnHitPolicyHandler
apply
in interface DmnHitPolicyHandler
decisionTableEvaluationEvent
- the evaluation event of the decision tableprotected boolean allOutputsAreEqual(List<DmnEvaluatedDecisionRule> matchingRules)
Copyright © 2017. All rights reserved.