Package mireka.filter.local.table
Class RecipientSpecificationDestinationPair
- Object
-
- mireka.filter.local.table.RecipientSpecificationDestinationPair
-
- All Implemented Interfaces:
RecipientDestinationMapper
public class RecipientSpecificationDestinationPair extends Object implements RecipientDestinationMapper
RecipientSpecificationDestinationPair assigns aDestinationto one or moreRecipientSpecification, it is used to configure what to do with mail sent to the matching mail addresses.
-
-
Constructor Summary
Constructors Constructor Description RecipientSpecificationDestinationPair()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddRecipientSpecification(RecipientSpecification recipientSpecification)Destinationlookup(Recipient recipient)Returns the destination of mails sent to this user; or null if it does not know the recipient.voidsetDestination(Destination destination)voidsetRecipientSpecification(RecipientSpecification recipientSpecification)voidsetRecipientSpecifications(java.util.List<RecipientSpecification> recipientSpecifications)
-
-
-
Method Detail
-
lookup
public Destination lookup(Recipient recipient)
Description copied from interface:RecipientDestinationMapperReturns the destination of mails sent to this user; or null if it does not know the recipient.- Specified by:
lookupin interfaceRecipientDestinationMapper
-
addRecipientSpecification
public void addRecipientSpecification(RecipientSpecification recipientSpecification)
- Category:
- GETSET
-
setRecipientSpecification
public void setRecipientSpecification(RecipientSpecification recipientSpecification)
- Category:
- GETSET
-
setRecipientSpecifications
public void setRecipientSpecifications(java.util.List<RecipientSpecification> recipientSpecifications)
- Category:
- GETSET
-
setDestination
public void setDestination(Destination destination)
- Category:
- GETSET
-
-