Class FieldInspector
- java.lang.Object
-
- org.drools.verifier.core.cache.inspectors.FieldInspector
-
- All Implemented Interfaces:
HasConflicts,HasKeys,HasUUID,HumanReadable,IsConflicting,IsRedundant,IsSubsuming
public class FieldInspector extends 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 FieldInspector(Field field, RuleInspectorUpdater ruleInspectorUpdater, AnalyzerConfiguration configuration)FieldInspector(ObjectField field, RuleInspectorUpdater ruleInspectorUpdater, AnalyzerConfiguration configuration)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanconflicts(Object other)InspectorList<ActionInspector>getActionInspectorList()InspectorList<ConditionInspector>getConditionInspectorList()ObjectFieldgetObjectField()UUIDKeygetUuidKey()ConflicthasConflicts()booleanisRedundant(Object other)Key[]keys()booleansubsumes(Object other)StringtoHumanReadableString()
-
-
-
Constructor Detail
-
FieldInspector
public FieldInspector(Field field, RuleInspectorUpdater ruleInspectorUpdater, AnalyzerConfiguration configuration)
-
FieldInspector
public FieldInspector(ObjectField field, RuleInspectorUpdater ruleInspectorUpdater, AnalyzerConfiguration configuration)
-
-
Method Detail
-
getObjectField
public ObjectField getObjectField()
-
getActionInspectorList
public InspectorList<ActionInspector> getActionInspectorList()
-
getConditionInspectorList
public InspectorList<ConditionInspector> getConditionInspectorList()
-
hasConflicts
public Conflict hasConflicts()
- Specified by:
hasConflictsin interfaceHasConflicts
-
conflicts
public boolean conflicts(Object other)
- Specified by:
conflictsin interfaceIsConflicting
-
isRedundant
public boolean isRedundant(Object other)
- Specified by:
isRedundantin interfaceIsRedundant
-
subsumes
public boolean subsumes(Object other)
- Specified by:
subsumesin interfaceIsSubsuming
-
toHumanReadableString
public String toHumanReadableString()
- Specified by:
toHumanReadableStringin interfaceHumanReadable
-
getUuidKey
public UUIDKey getUuidKey()
- Specified by:
getUuidKeyin interfaceHasUUID
-
-