Class Gap
- java.lang.Object
-
- org.drools.verifier.report.components.MissingRange
-
- org.drools.verifier.report.components.Gap
-
- All Implemented Interfaces:
Comparable<MissingRange>,Cause,Reason
public class Gap extends MissingRange implements Comparable<MissingRange>
-
-
Field Summary
-
Fields inherited from class org.drools.verifier.report.components.MissingRange
field, guid, operator
-
-
Constructor Summary
Constructors Constructor Description Gap(Field field, org.drools.drl.parser.impl.Operator operator, LiteralRestriction restriction)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intcompareTo(MissingRange another)Collection<Cause>getCauses()LiteralRestrictiongetRestriction()StringgetRuleName()StringgetValueAsString()StringtoString()-
Methods inherited from class org.drools.verifier.report.components.MissingRange
getField, getGuid, getOperator, getReasonType, getReversedOperator
-
-
-
-
Constructor Detail
-
Gap
public Gap(Field field, org.drools.drl.parser.impl.Operator operator, LiteralRestriction restriction)
- Parameters:
field- Field from where the value is missing.evaluator- Evaluator for the missing value.cause- The restriction that the gap begins from.
-
-
Method Detail
-
compareTo
public int compareTo(MissingRange another)
- Specified by:
compareToin interfaceComparable<MissingRange>- Overrides:
compareToin classMissingRange
-
getRuleName
public String getRuleName()
-
getRestriction
public LiteralRestriction getRestriction()
-
getValueAsString
public String getValueAsString()
- Specified by:
getValueAsStringin classMissingRange
-
-