public final class RecipientStringTerm extends AddressStringTerm
ignoreCase, pattern
Constructor and Description |
---|
RecipientStringTerm(Message.RecipientType type,
String pattern) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object other) |
Message.RecipientType |
getRecipientType() |
int |
hashCode() |
boolean |
match(Message message)
Checks a matching criteria defined by the concrete subclass of this Term.
|
match
getIgnoreCase, getPattern, match
public RecipientStringTerm(Message.RecipientType type, String pattern)
public Message.RecipientType getRecipientType()
public boolean match(Message message)
SearchTerm
match
in class SearchTerm
message
- the message to apply the matching criteria topublic boolean equals(Object other)
equals
in class StringTerm
public int hashCode()
hashCode
in class StringTerm
Copyright © 2013. All rights reserved.