public class ComparisonCondition extends CompositeCondition
Modifier and Type | Class and Description |
---|---|
private static class |
ComparisonCondition.Operator |
Condition.Anchor
Modifier and Type | Field and Description |
---|---|
private ComparisonCondition.Operator |
operator |
Constructor and Description |
---|
ComparisonCondition(Condition leftCondition,
String operatorString,
Condition rightCondition) |
Modifier and Type | Method and Description |
---|---|
protected boolean |
doesMatch(RuleEvaluation evaluation)
Returns whether this condition matches the given evaluation
at the current location of the evaluation.
|
Condition |
getLeftCondition() |
Condition |
getRightCondition() |
void |
setLeftCondition(Condition leftCondition) |
void |
setRightCondition(Condition rightCondition) |
protected String |
toInnerString()
All instances of this produces a parseable string output
|
protected void |
traceResult(boolean matches,
RuleEvaluation e) |
protected void |
traceResult(boolean matches,
RuleEvaluation e,
Object left,
Object right) |
addCondition, allSubConditionsMatches, conditionIterator, conditionSize, conditionsToString, getCondition, hasOpenChoicepoint, makeReferences, postMatchHook, preMatchHook, removeCondition, setCondition, toInnerString, useParentheses
getAnchor, getContextName, getLabel, getLabelString, getMatchInfo, getMatchInfoString, getNameSpace, getParent, isDefaultContextName, isReferable, labelMatches, labelMatches, matches, matchesEndAnchor, matchesStartAnchor, setAnchor, setContextName, setLabel, setNameSpace, setParent, toString
private ComparisonCondition.Operator operator
protected boolean doesMatch(RuleEvaluation evaluation)
Condition
protected void traceResult(boolean matches, RuleEvaluation e)
traceResult
in class Condition
protected void traceResult(boolean matches, RuleEvaluation e, Object left, Object right)
public Condition getLeftCondition()
public void setLeftCondition(Condition leftCondition)
public Condition getRightCondition()
public void setRightCondition(Condition rightCondition)
protected String toInnerString()
Condition
toInnerString
in class Condition
Copyright © 2018. All rights reserved.