Fields Summary |
---|
private String | fieldPasswordThe user password for this account |
private org.apache.mailet.MailAddress | fieldRecipientThe user to send the fetched mail to |
private String | fieldUserThe user name for this account |
private ParsedConfiguration | fieldParsedConfigurationThe ParsedConfiguration |
private List | fieldDeferredRecipientNotFoundMessageIDsList of MessageIDs for which processing has been deferred
because the intended recipient could not be found. |
private int | fieldSequenceNumberThe sequence number for this account |
private boolean | fieldIgnoreRecipientHeaderIgnore the recipient deduced from the header and use 'fieldRecipient' |
private Session | fieldSessionThe JavaMail Session for this Account. |
private String | customRecipientHeaderA custom header to be used as the recipient address |
Methods Summary |
---|
public int | compareTo(java.lang.Object o)Compares this object with the specified object for order. Returns a
negative integer, zero, or a positive integer if this object is less
than, equal to, or greater than the specified object.
return getSequenceNumber() - ((Account) o).getSequenceNumber();
|
protected java.util.List | computeDeferredRecipientNotFoundMessageIDs()Returns a new List of deferredRecipientNotFoundMessageIDs.
return new ArrayList(16);
|
public java.lang.String | getCustomRecipientHeader()Returns the custom recipient header.
return this.customRecipientHeader;
|
public java.util.List | getDeferredRecipientNotFoundMessageIDs()Returns the deferredRecipientNotFoundMessageIDs. lazily initialised.
List messageIDs = null;
if (null
== (messageIDs = getDeferredRecipientNotFoundMessageIDsBasic()))
{
updateDeferredRecipientNotFoundMessageIDs();
return getDeferredRecipientNotFoundMessageIDs();
}
return messageIDs;
|
private java.util.List | getDeferredRecipientNotFoundMessageIDsBasic()Returns the deferredRecipientNotFoundMessageIDs.
return fieldDeferredRecipientNotFoundMessageIDs;
|
public ParsedConfiguration | getParsedConfiguration()Returns the parsedConfiguration.
return fieldParsedConfiguration;
|
public java.lang.String | getPassword()Returns the password.
return fieldPassword;
|
public org.apache.mailet.MailAddress | getRecipient()Returns the recipient.
return fieldRecipient;
|
public int | getSequenceNumber()Returns the sequenceNumber.
return fieldSequenceNumber;
|
public javax.mail.Session | getSession()Returns the session.
return fieldSession;
|
public java.lang.String | getUser()Returns the user.
return fieldUser;
|
public boolean | isIgnoreRecipientHeader()Returns the ignoreRecipientHeader.
return fieldIgnoreRecipientHeader;
|
public void | setCustomRecipientHeader(java.lang.String customRecipientHeader)Sets the custom recipient header.
this.customRecipientHeader = customRecipientHeader;
|
protected void | setDeferredRecipientNotFoundMessageIDs(java.util.List defferedRecipientNotFoundMessageIDs)Sets the defferedRecipientNotFoundMessageIDs.
fieldDeferredRecipientNotFoundMessageIDs =
defferedRecipientNotFoundMessageIDs;
|
protected void | setIgnoreRecipientHeader(boolean ignoreRecipientHeader)Sets the ignoreRecipientHeader.
fieldIgnoreRecipientHeader = ignoreRecipientHeader;
|
protected void | setParsedConfiguration(ParsedConfiguration parsedConfiguration)Sets the parsedConfiguration.
fieldParsedConfiguration = parsedConfiguration;
|
protected void | setPassword(java.lang.String password)Sets the password.
fieldPassword = password;
|
protected void | setRecipient(java.lang.String recipient)Sets the recipient.
if (null == recipient)
{
fieldRecipient = null;
return;
}
try
{
setRecipient(new MailAddress(recipient));
}
catch (ParseException pe)
{
throw new ConfigurationException(
"Invalid recipient address specified: " + recipient);
}
|
protected void | setRecipient(org.apache.mailet.MailAddress recipient)Sets the recipient.
fieldRecipient = recipient;
|
protected void | setSequenceNumber(int sequenceNumber)Sets the sequenceNumber.
fieldSequenceNumber = sequenceNumber;
|
protected void | setSession(javax.mail.Session session)Sets the session.
fieldSession = session;
|
protected void | setUser(java.lang.String user)Sets the user.
fieldUser = user;
|
protected void | updateDeferredRecipientNotFoundMessageIDs()Updates the deferredRecipientNotFoundMessageIDs.
setDeferredRecipientNotFoundMessageIDs(computeDeferredRecipientNotFoundMessageIDs());
|