public final class RecipientStringTerm extends AddressStringTerm
ignoreCase, pattern| Constructor and Description |
|---|
RecipientStringTerm(Message.RecipientType type,
java.lang.String pattern) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object other) |
Message.RecipientType |
getRecipientType() |
int |
hashCode() |
boolean |
match(Message message)
Checks a matching criteria defined by the concrete subclass of this Term.
|
matchgetIgnoreCase, getPattern, matchpublic RecipientStringTerm(Message.RecipientType type, java.lang.String pattern)
public Message.RecipientType getRecipientType()
public boolean match(Message message)
SearchTermmatch in class SearchTermmessage - the message to apply the matching criteria topublic boolean equals(java.lang.Object other)
equals in class StringTermpublic int hashCode()
hashCode in class StringTerm