Package org.xwiki.eventstream.query
Class AbstractEntityQueryCondition
- java.lang.Object
-
- org.xwiki.eventstream.query.QueryCondition
-
- org.xwiki.eventstream.query.AbstractEntityQueryCondition
-
- Direct Known Subclasses:
MailEntityQueryCondition
,StatusQueryCondition
public abstract class AbstractEntityQueryCondition extends QueryCondition
A condition related to an entity associated with and event.- Since:
- 12.6
- Version:
- $Id: f157332e4b4b46b7bcf700866d42985b366e4ea8 $
-
-
Constructor Summary
Constructors Constructor Description AbstractEntityQueryCondition(String statusEntityId, boolean reversed)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object obj)
String
getStatusEntityId()
int
hashCode()
String
toString()
-
Methods inherited from class org.xwiki.eventstream.query.QueryCondition
isReversed
-
-
-
-
Constructor Detail
-
AbstractEntityQueryCondition
public AbstractEntityQueryCondition(String statusEntityId, boolean reversed)
- Parameters:
statusEntityId
- the entity associated with the eventsreversed
- true if the condition should be reversed
-
-
Method Detail
-
getStatusEntityId
public String getStatusEntityId()
- Returns:
- the status entity to filter on or null if not enabled
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classQueryCondition
-
equals
public boolean equals(Object obj)
- Overrides:
equals
in classQueryCondition
-
toString
public String toString()
- Overrides:
toString
in classQueryCondition
-
-