Package mireka.filter
Class RecipientContext
- Object
-
- mireka.filter.RecipientContext
-
public class RecipientContext extends ObjectRecipientContext collects information about a specific recipient during the mail transaction.
-
-
Field Summary
Fields Modifier and Type Field Description booleanisResponsibilityTransferredTrue if the mail has been passed to a reliable service, e.g. a back-end SMTP server.Recipientrecipient
-
Constructor Summary
Constructors Constructor Description RecipientContext(MailTransaction mailTransaction, Recipient recipient)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DestinationgetDestination()MailTransactiongetMailTransaction()booleanisDestinationAssigned()voidsetDestination(Destination destination)
-
-
-
Field Detail
-
recipient
public final Recipient recipient
-
isResponsibilityTransferred
public boolean isResponsibilityTransferred
True if the mail has been passed to a reliable service, e.g. a back-end SMTP server. This status flag is only used for recognizing and reporting a wrong configuration, when delivery to a recipient is not handled by any of the filters.
-
-
Constructor Detail
-
RecipientContext
public RecipientContext(MailTransaction mailTransaction, Recipient recipient)
-
-
Method Detail
-
isDestinationAssigned
public boolean isDestinationAssigned()
-
setDestination
public void setDestination(Destination destination)
- Category:
- GETSET
-
getDestination
public Destination getDestination() throws ConfigurationException
- Throws:
ConfigurationException- if no destination is assigned yet
-
getMailTransaction
public MailTransaction getMailTransaction()
- Category:
- GETSET
-
-