|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.james.fetchmail.DynamicAccount
public class DynamicAccount
Constructor Summary | |
---|---|
DynamicAccount(int sequenceNumber,
org.apache.james.fetchmail.ParsedConfiguration parsedConfiguration,
java.lang.String userName,
java.lang.String userPrefix,
java.lang.String userSuffix,
java.lang.String password,
java.lang.String recipientPrefix,
java.lang.String recipientSuffix,
boolean ignoreRecipientHeader,
java.lang.String customRecipientHeader,
javax.mail.Session session)
Constructor for DynamicAccount. |
Method Summary | |
---|---|
int |
compareTo(java.lang.Object o)
Compares this object with the specified object for order. |
protected java.util.List |
computeDeferredRecipientNotFoundMessageIDs()
Returns a new List of deferredRecipientNotFoundMessageIDs. |
java.lang.String |
getCustomRecipientHeader()
Returns the custom recipient header. |
java.util.List |
getDeferredRecipientNotFoundMessageIDs()
Returns the deferredRecipientNotFoundMessageIDs. lazily initialised. |
org.apache.james.fetchmail.ParsedConfiguration |
getParsedConfiguration()
Returns the parsedConfiguration. |
java.lang.String |
getPassword()
Returns the password. |
MailAddress |
getRecipient()
Returns the recipient. |
int |
getSequenceNumber()
Returns the sequenceNumber. |
javax.mail.Session |
getSession()
Returns the session. |
java.lang.String |
getUser()
Returns the user. |
boolean |
isIgnoreRecipientHeader()
Returns the ignoreRecipientHeader. |
void |
setCustomRecipientHeader(java.lang.String customRecipientHeader)
Sets the custom recipient header. |
protected void |
setDeferredRecipientNotFoundMessageIDs(java.util.List defferedRecipientNotFoundMessageIDs)
Sets the defferedRecipientNotFoundMessageIDs. |
protected void |
setIgnoreRecipientHeader(boolean ignoreRecipientHeader)
Sets the ignoreRecipientHeader. |
protected void |
setParsedConfiguration(org.apache.james.fetchmail.ParsedConfiguration parsedConfiguration)
Sets the parsedConfiguration. |
protected void |
setPassword(java.lang.String password)
Sets the password. |
protected void |
setRecipient(MailAddress recipient)
Sets the recipient. |
protected void |
setRecipient(java.lang.String recipient)
Sets the recipient. |
protected void |
setSequenceNumber(int sequenceNumber)
Sets the sequenceNumber. |
protected void |
setSession(javax.mail.Session session)
Sets the session. |
protected void |
setUser(java.lang.String user)
Sets the user. |
protected void |
updateDeferredRecipientNotFoundMessageIDs()
Updates the deferredRecipientNotFoundMessageIDs. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DynamicAccount(int sequenceNumber, org.apache.james.fetchmail.ParsedConfiguration parsedConfiguration, java.lang.String userName, java.lang.String userPrefix, java.lang.String userSuffix, java.lang.String password, java.lang.String recipientPrefix, java.lang.String recipientSuffix, boolean ignoreRecipientHeader, java.lang.String customRecipientHeader, javax.mail.Session session) throws org.apache.avalon.framework.configuration.ConfigurationException
sequenceNumber
- parsedConfiguration
- userName
- userPrefix
- userSuffix
- password
- recipientPrefix
- recipientSuffix
- ignoreRecipientHeader
- session
-
org.apache.avalon.framework.configuration.ConfigurationException
Method Detail |
---|
public java.lang.String getCustomRecipientHeader()
public java.lang.String getPassword()
public MailAddress getRecipient()
public java.lang.String getUser()
public void setCustomRecipientHeader(java.lang.String customRecipientHeader)
customRecipientHeader
- The header to be usedprotected void setPassword(java.lang.String password)
password
- The password to setprotected void setRecipient(MailAddress recipient)
recipient
- The recipient to setprotected void setRecipient(java.lang.String recipient) throws org.apache.avalon.framework.configuration.ConfigurationException
recipient
- The recipient to set
org.apache.avalon.framework.configuration.ConfigurationException
protected void setUser(java.lang.String user)
user
- The user to setprotected void setIgnoreRecipientHeader(boolean ignoreRecipientHeader)
ignoreRecipientHeader
- The ignoreRecipientHeader to setpublic boolean isIgnoreRecipientHeader()
public int getSequenceNumber()
protected void setSequenceNumber(int sequenceNumber)
sequenceNumber
- The sequenceNumber to setpublic int compareTo(java.lang.Object o)
compareTo
in interface java.lang.Comparable
Comparable.compareTo(Object)
public java.util.List getDeferredRecipientNotFoundMessageIDs()
protected java.util.List computeDeferredRecipientNotFoundMessageIDs()
protected void updateDeferredRecipientNotFoundMessageIDs()
protected void setDeferredRecipientNotFoundMessageIDs(java.util.List defferedRecipientNotFoundMessageIDs)
defferedRecipientNotFoundMessageIDs
- The defferedRecipientNotFoundMessageIDs to setpublic org.apache.james.fetchmail.ParsedConfiguration getParsedConfiguration()
protected void setParsedConfiguration(org.apache.james.fetchmail.ParsedConfiguration parsedConfiguration)
parsedConfiguration
- The parsedConfiguration to setpublic javax.mail.Session getSession()
protected void setSession(javax.mail.Session session)
session
- The session to set
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |