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
ConstructorsConstructorDescriptionConditionInspector(Condition<T> condition, AnalyzerConfiguration configuration) -
Method Summary
Modifier and TypeMethodDescriptionbooleangetValue()inthashCode()booleanhasValue()booleanisRedundant(Object object) Key[]keys()abstract 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, waitMethods inherited from interface org.drools.verifier.core.relations.IsConflicting
conflictsMethods inherited from interface org.drools.verifier.core.relations.IsOverlapping
overlapsMethods inherited from interface org.drools.verifier.core.relations.IsSubsuming
subsumes
-
Constructor Details
-
ConditionInspector
-
-
Method Details
-
getCondition
-
getValue
-
valueIsGreaterThanOrEqualTo
-
valueIsLessThanOrEqualTo
-
valueIsGreaterThan
-
valueIsLessThan
-
valueIsEqualTo
-
isRedundant
- Specified by:
isRedundantin interfaceIsRedundant<T extends Comparable<T>>
-
getValues
-
hasValue
public boolean hasValue() -
toHumanReadableString
- Specified by:
toHumanReadableStringin interfaceHumanReadable
-
toString
-
equals
-
hashCode
public int hashCode() -
getUuidKey
- Specified by:
getUuidKeyin interfaceHasUUID
-
keys
-