Class RuleInspector
java.lang.Object
org.drools.verifier.core.cache.inspectors.RuleInspector
- All Implemented Interfaces:
HasKeys,HasUUID,HumanReadable,IsConflicting,IsDeficient<RuleInspector>,IsRedundant,IsSubsuming
public class RuleInspector
extends Object
implements IsRedundant, IsSubsuming, IsConflicting, IsDeficient<RuleInspector>, HumanReadable, HasKeys
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.drools.verifier.core.relations.IsConflicting
IsConflicting.Covers<T> -
Constructor Summary
ConstructorsConstructorDescriptionRuleInspector(Rule rule, CheckStorage checkStorage, RuleInspectorCache cache, AnalyzerConfiguration configuration) -
Method Summary
Modifier and TypeMethodDescriptionbooleanbooleanbooleangetCache()intgetRule()booleanisDeficient(RuleInspector other) booleanisEmpty()booleanisRedundant(Object other) Key[]keys()boolean
-
Constructor Details
-
RuleInspector
public RuleInspector(Rule rule, CheckStorage checkStorage, RuleInspectorCache cache, AnalyzerConfiguration configuration)
-
-
Method Details
-
getConditionsInspectors
-
getActionsInspectors
-
getPatternsInspector
-
getRowIndex
public int getRowIndex() -
getCache
-
isRedundant
- Specified by:
isRedundantin interfaceIsRedundant
-
subsumes
- Specified by:
subsumesin interfaceIsSubsuming
-
conflicts
- Specified by:
conflictsin interfaceIsConflicting
-
getRule
-
isDeficient
- Specified by:
isDeficientin interfaceIsDeficient<RuleInspector>
-
isEmpty
public boolean isEmpty() -
atLeastOneActionHasAValue
public boolean atLeastOneActionHasAValue() -
atLeastOneConditionHasAValue
public boolean atLeastOneConditionHasAValue() -
toHumanReadableString
- Specified by:
toHumanReadableStringin interfaceHumanReadable
-
getBrlConditionsInspectors
-
getBrlActionInspectors
-
getUuidKey
- Specified by:
getUuidKeyin interfaceHasUUID
-
keys
-
getChecks
-
clearChecks
-