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, wait
toHumanReadableString
public 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 IsRedundant
public boolean subsumes(Object other)
subsumes
in interface IsSubsuming
public boolean conflicts(Object other)
conflicts
in interface IsConflicting
public 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 HumanReadable
public InspectorList<ConditionInspector> getBrlConditionsInspectors()
public InspectorList<ActionInspector> getBrlActionInspectors()
public UUIDKey getUuidKey()
getUuidKey
in interface HasUUID
Copyright © 2001–2020 JBoss by Red Hat. All rights reserved.