Class PatternInspector
- java.lang.Object
-
- org.drools.verifier.core.cache.inspectors.PatternInspector
-
- All Implemented Interfaces:
HasConflicts,HasKeys,HasUUID,HumanReadable,IsConflicting,IsRedundant,IsSubsuming
public class PatternInspector extends java.lang.Object implements HasConflicts, IsConflicting, IsSubsuming, IsRedundant, HumanReadable, HasKeys
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.drools.verifier.core.relations.IsConflicting
IsConflicting.Covers<T>
-
-
Constructor Summary
Constructors Constructor Description PatternInspector(Pattern pattern, RuleInspectorUpdater ruleInspectorUpdater, AnalyzerConfiguration configuration)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanconflicts(java.lang.Object other)ActionsInspectorMultiMapgetActionsInspector()ConditionsInspectorMultiMapgetConditionsInspector()PatterngetPattern()UUIDKeygetUuidKey()ConflicthasConflicts()booleanisRedundant(java.lang.Object other)Key[]keys()booleansubsumes(java.lang.Object other)java.lang.StringtoHumanReadableString()
-
-
-
Constructor Detail
-
PatternInspector
public PatternInspector(Pattern pattern, RuleInspectorUpdater ruleInspectorUpdater, AnalyzerConfiguration configuration)
-
-
Method Detail
-
getPattern
public Pattern getPattern()
-
conflicts
public boolean conflicts(java.lang.Object other)
- Specified by:
conflictsin interfaceIsConflicting
-
isRedundant
public boolean isRedundant(java.lang.Object other)
- Specified by:
isRedundantin interfaceIsRedundant
-
subsumes
public boolean subsumes(java.lang.Object other)
- Specified by:
subsumesin interfaceIsSubsuming
-
hasConflicts
public Conflict hasConflicts()
- Specified by:
hasConflictsin interfaceHasConflicts
-
getActionsInspector
public ActionsInspectorMultiMap getActionsInspector()
-
getConditionsInspector
public ConditionsInspectorMultiMap getConditionsInspector()
-
toHumanReadableString
public java.lang.String toHumanReadableString()
- Specified by:
toHumanReadableStringin interfaceHumanReadable
-
getUuidKey
public UUIDKey getUuidKey()
- Specified by:
getUuidKeyin interfaceHasUUID
-
-