public class Gap extends MissingRange implements Comparable<MissingRange>
field, guid, operator
Constructor and Description |
---|
Gap(Field field,
org.drools.core.base.evaluators.Operator operator,
LiteralRestriction restriction) |
Modifier and Type | Method and Description |
---|---|
int |
compareTo(MissingRange another) |
Collection<Cause> |
getCauses() |
LiteralRestriction |
getRestriction() |
String |
getRuleName() |
String |
getValueAsString() |
String |
toString() |
getField, getGuid, getOperator, getReasonType, getReversedOperator
public Gap(Field field, org.drools.core.base.evaluators.Operator operator, LiteralRestriction restriction)
field
- Field from where the value is missing.evaluator
- Evaluator for the missing value.cause
- The restriction that the gap begins from.public int compareTo(MissingRange another)
compareTo
in interface Comparable<MissingRange>
compareTo
in class MissingRange
public String getRuleName()
public LiteralRestriction getRestriction()
public String getValueAsString()
getValueAsString
in class MissingRange
Copyright © 2001-2015 JBoss by Red Hat. All Rights Reserved.