public class GlobalUsersRecipientSpecification extends Object implements RecipientSpecification
RecipientSpecification
which accepts those recipient addresses
where the local part case insensitively matches any of the user names in the
supplied GlobalUsers
collection.Constructor and Description |
---|
GlobalUsersRecipientSpecification() |
Modifier and Type | Method and Description |
---|---|
boolean |
isSatisfiedBy(Recipient recipient) |
void |
setUsers(GlobalUsers users) |
public void setUsers(GlobalUsers users)
public boolean isSatisfiedBy(Recipient recipient)
isSatisfiedBy
in interface RecipientSpecification