public class RuleInspector extends Object implements IsRedundant, IsSubsuming, IsConflicting, IsDeficient<RuleInspector>, HumanReadable, HasKeys
IsConflicting.Covers<T>| Constructor and Description |
|---|
RuleInspector(Rule rule,
CheckStorage checkStorage,
RuleInspectorCache cache,
AnalyzerConfiguration configuration) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
atLeastOneActionHasAValue() |
boolean |
atLeastOneConditionHasAValue() |
Set<Check> |
clearChecks() |
boolean |
conflicts(Object other) |
InspectorList<ActionsInspectorMultiMap> |
getActionsInspectors() |
InspectorList<ActionInspector> |
getBrlActionInspectors() |
InspectorList<ConditionInspector> |
getBrlConditionsInspectors() |
RuleInspectorCache |
getCache() |
Set<Check> |
getChecks() |
InspectorList<ConditionsInspectorMultiMap> |
getConditionsInspectors() |
InspectorList<PatternInspector> |
getPatternsInspector() |
int |
getRowIndex() |
Rule |
getRule() |
UUIDKey |
getUuidKey() |
boolean |
isDeficient(RuleInspector other) |
boolean |
isEmpty() |
boolean |
isRedundant(Object other) |
Key[] |
keys() |
boolean |
subsumes(Object other) |
String |
toHumanReadableString() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waittoHumanReadableStringpublic RuleInspector(Rule rule, CheckStorage checkStorage, RuleInspectorCache cache, AnalyzerConfiguration configuration)
public InspectorList<ConditionsInspectorMultiMap> getConditionsInspectors()
public InspectorList<ActionsInspectorMultiMap> getActionsInspectors()
public InspectorList<PatternInspector> getPatternsInspector()
public int getRowIndex()
public RuleInspectorCache getCache()
public boolean isRedundant(Object other)
isRedundant in interface IsRedundantpublic boolean subsumes(Object other)
subsumes in interface IsSubsumingpublic boolean conflicts(Object other)
conflicts in interface IsConflictingpublic Rule getRule()
public boolean isDeficient(RuleInspector other)
isDeficient in interface IsDeficient<RuleInspector>public boolean isEmpty()
public boolean atLeastOneActionHasAValue()
public boolean atLeastOneConditionHasAValue()
public String toHumanReadableString()
toHumanReadableString in interface HumanReadablepublic InspectorList<ConditionInspector> getBrlConditionsInspectors()
public InspectorList<ActionInspector> getBrlActionInspectors()
public UUIDKey getUuidKey()
getUuidKey in interface HasUUIDCopyright © 2001–2019 JBoss by Red Hat. All rights reserved.