Package org.xwiki.eventstream.query
Class InQueryCondition
- java.lang.Object
-
- org.xwiki.eventstream.query.QueryCondition
-
- org.xwiki.eventstream.query.AbstractPropertyQueryCondition
-
- org.xwiki.eventstream.query.InQueryCondition
-
public class InQueryCondition extends AbstractPropertyQueryCondition
A condition which is true if the property value is equals to one of the passed values.- Since:
- 12.5RC1
- Version:
- $Id: 125d44823c27babd05b1ee2e5aa00697e2e4355a $
-
-
Constructor Summary
Constructors Constructor Description InQueryCondition(boolean reversed, String property, boolean custom, Type customType, List<Object> values)
InQueryCondition(boolean reversed, String property, boolean custom, List<Object> values)
InQueryCondition(boolean reversed, String property, List<Object> values)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object obj)
List<Object>
getValues()
int
hashCode()
String
toString()
-
Methods inherited from class org.xwiki.eventstream.query.AbstractPropertyQueryCondition
getCustomType, getProperty, isCustom, isParameter
-
Methods inherited from class org.xwiki.eventstream.query.QueryCondition
isReversed
-
-
-
-
Constructor Detail
-
InQueryCondition
public InQueryCondition(boolean reversed, String property, List<Object> values)
- Parameters:
reversed
- true if the condition should be reversedproperty
- the name of the propertyvalues
- the values to compare to the property value
-
InQueryCondition
public InQueryCondition(boolean reversed, String property, boolean custom, List<Object> values)
- Parameters:
reversed
- true if the condition should be reversedproperty
- the name of the propertycustom
- true if the property is a custom parametervalues
- the values to compare to the property value- Since:
- 13.9RC1
-
InQueryCondition
public InQueryCondition(boolean reversed, String property, boolean custom, Type customType, List<Object> values)
- Parameters:
reversed
- true if the condition should be reversedproperty
- the name of the propertycustom
- true if it's a custom event reversedcustomType
- the type in which that property was storedvalues
- the values to compare to the property value- Since:
- 14.2RC1
-
-
Method Detail
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classAbstractPropertyQueryCondition
-
equals
public boolean equals(Object obj)
- Overrides:
equals
in classAbstractPropertyQueryCondition
-
toString
public String toString()
- Overrides:
toString
in classAbstractPropertyQueryCondition
-
-