Class GreaterThanNode
- java.lang.Object
-
- org.xwiki.notifications.filters.expression.generics.AbstractNode
-
- org.xwiki.notifications.filters.expression.generics.AbstractOperatorNode
-
- org.xwiki.notifications.filters.expression.generics.AbstractBinaryOperatorNode
-
- org.xwiki.notifications.filters.expression.GreaterThanNode
-
- All Implemented Interfaces:
ExpressionNode
public final class GreaterThanNode extends AbstractBinaryOperatorNode
Define a >= condition in a filtering expression.- Since:
- 9.8RC1
- Version:
- $Id: 40e2450b2cbf9f2a72972b8ddbc4c48460171392 $
-
-
Field Summary
-
Fields inherited from class org.xwiki.notifications.filters.expression.generics.AbstractNode
EMPTY_NODE
-
-
Constructor Summary
Constructors Constructor Description GreaterThanNode(AbstractValueNode leftOperand, AbstractValueNode rightOperand)
Constructs a new ">=" node.GreaterThanNode(AbstractValueNode leftOperand, AbstractValueNode rightOperand, boolean orEquals)
Constructs a new "<=" node.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object o)
int
hashCode()
boolean
isOrEquals()
String
toString()
-
Methods inherited from class org.xwiki.notifications.filters.expression.generics.AbstractBinaryOperatorNode
getLeftOperand, getRightOperand
-
Methods inherited from class org.xwiki.notifications.filters.expression.generics.AbstractOperatorNode
and, or
-
-
-
-
Constructor Detail
-
GreaterThanNode
public GreaterThanNode(AbstractValueNode leftOperand, AbstractValueNode rightOperand)
Constructs a new ">=" node.- Parameters:
leftOperand
- the left operandrightOperand
- the right operand
-
GreaterThanNode
public GreaterThanNode(AbstractValueNode leftOperand, AbstractValueNode rightOperand, boolean orEquals)
Constructs a new "<=" node.- Parameters:
leftOperand
- the left operandrightOperand
- the right operandorEquals
- true if it's a greater or equals, false if it's only lesser- Since:
- 12.7RC1, 12.6.1
-
-
Method Detail
-
isOrEquals
public boolean isOrEquals()
- Returns:
- true if it's a lesser or equals, false if it's only lesser
- Since:
- 12.7RC1, 12.6.1
-
equals
public boolean equals(Object o)
- Overrides:
equals
in classAbstractBinaryOperatorNode
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classAbstractBinaryOperatorNode
-
-