public class ComparisonCondition extends CompositeCondition
Condition.Anchor
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, toString
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.