Class ConditionInspector<T extends Comparable<T>>
- java.lang.Object
-
- org.drools.verifier.core.cache.inspectors.condition.ConditionInspector<T>
-
- All Implemented Interfaces:
HasKeys,HasUUID,HumanReadable,IsConflicting,IsOverlapping,IsRedundant,IsSubsuming
- Direct Known Subclasses:
BRLConditionInspector,ComparableConditionInspector
public abstract class ConditionInspector<T extends Comparable<T>> extends Object implements IsRedundant, IsOverlapping, IsSubsuming, IsConflicting, 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 ConditionInspector(Condition<T> condition, AnalyzerConfiguration configuration)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)Condition<T>getCondition()UUIDKeygetUuidKey()TgetValue()Values<Comparable>getValues()inthashCode()booleanhasValue()booleanisRedundant(Object object)Key[]keys()abstract StringtoHumanReadableString()StringtoString()protected booleanvalueIsEqualTo(Comparable<T> otherValue)protected booleanvalueIsGreaterThan(Comparable<T> otherValue)protected booleanvalueIsGreaterThanOrEqualTo(Comparable<T> otherValue)protected booleanvalueIsLessThan(Comparable<T> otherValue)protected booleanvalueIsLessThanOrEqualTo(Comparable<T> otherValue)-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.drools.verifier.core.relations.IsConflicting
conflicts
-
Methods inherited from interface org.drools.verifier.core.relations.IsOverlapping
overlaps
-
Methods inherited from interface org.drools.verifier.core.relations.IsSubsuming
subsumes
-
-
-
-
Constructor Detail
-
ConditionInspector
public ConditionInspector(Condition<T> condition, AnalyzerConfiguration configuration)
-
-
Method Detail
-
getValue
public T getValue()
-
valueIsGreaterThanOrEqualTo
protected boolean valueIsGreaterThanOrEqualTo(Comparable<T> otherValue)
-
valueIsLessThanOrEqualTo
protected boolean valueIsLessThanOrEqualTo(Comparable<T> otherValue)
-
valueIsGreaterThan
protected boolean valueIsGreaterThan(Comparable<T> otherValue)
-
valueIsLessThan
protected boolean valueIsLessThan(Comparable<T> otherValue)
-
valueIsEqualTo
protected boolean valueIsEqualTo(Comparable<T> otherValue)
-
isRedundant
public boolean isRedundant(Object object)
- Specified by:
isRedundantin interfaceIsRedundant<T extends Comparable<T>>
-
getValues
public Values<Comparable> getValues()
-
hasValue
public boolean hasValue()
-
toHumanReadableString
public abstract String toHumanReadableString()
- Specified by:
toHumanReadableStringin interfaceHumanReadable
-
getUuidKey
public UUIDKey getUuidKey()
- Specified by:
getUuidKeyin interfaceHasUUID
-
-