Package com.consol.citrus.mail.model
Class AcceptRequest
- java.lang.Object
-
- com.consol.citrus.mail.model.AcceptRequest
-
public class AcceptRequest extends Object
Accept request is raised for each mail communication in prior to processing the mail message. If accepted with positive accept outcome mail message is processed. If not the mail message is declined with not accepted error. Accept request is defined by mail sender address and recipients. Accept request is fired for each entry in list of recipients.- Since:
- 1.4
- Author:
- Christoph Deppisch
-
-
Constructor Summary
Constructors Constructor Description AcceptRequest()Default constructor.AcceptRequest(String from, String to)Constructor using fields.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetFrom()Gets the sender mail address.StringgetTo()Gets the mail recipients.voidsetFrom(String from)Sets the sender mail address.voidsetTo(String to)Sets the mail recipients.
-
-
-
Method Detail
-
getFrom
public String getFrom()
Gets the sender mail address.- Returns:
-
setFrom
public void setFrom(String from)
Sets the sender mail address.- Parameters:
from-
-
getTo
public String getTo()
Gets the mail recipients.- Returns:
-
setTo
public void setTo(String to)
Sets the mail recipients.- Parameters:
to-
-
-