Class IMAPPickupConfiguration
- java.lang.Object
-
- com.levigo.jadice.server.agent.email.imap.IMAPPickupConfiguration
-
public class IMAPPickupConfiguration extends Object
-
-
Constructor Summary
Constructors Constructor Description IMAPPickupConfiguration()
-
Method Summary
-
-
-
Method Detail
-
getHostName
public String getHostName()
-
setHostName
public void setHostName(String hostName)
-
getPort
public int getPort()
-
setPort
public void setPort(int port)
-
getUserName
public String getUserName()
-
setUserName
public void setUserName(String username)
-
getPassword
public String getPassword()
-
setPassword
public void setPassword(String password)
-
getFolderName
public String getFolderName()
-
setFolderName
public void setFolderName(String folderName)
-
getWorkFolderName
public String getWorkFolderName()
-
setWorkFolderName
public void setWorkFolderName(String workFolderPrefix)
-
getErrorFolderName
public String getErrorFolderName()
-
setErrorFolderName
public void setErrorFolderName(String errorFolderName)
-
isUseIDLE
public boolean isUseIDLE()
-
setUseIDLE
public void setUseIDLE(boolean useIDLE)
-
getPollInterval
public int getPollInterval()
-
setPollInterval
public void setPollInterval(int pollInterval)
-
getCompletedFolderName
public String getCompletedFolderName()
-
setCompletedFolderName
public void setCompletedFolderName(String completedFolderName)
-
setDupeDetection
public void setDupeDetection(DupeDetection dupeDetection)
-
getDupeDetection
public DupeDetection getDupeDetection()
-
getRoutingScriptURI
public URI getRoutingScriptURI()
-
setRoutingScriptURI
public void setRoutingScriptURI(URI routingScriptURI)
-
getSessionProperties
public Properties getSessionProperties()
Get the properties for the JavaMail session.- Returns:
- the session properties
- See Also:
Session
-
setSessionProperties
public void setSessionProperties(Properties sessionProperties)
Set the properties for the JavaMail session.- Parameters:
sessionProperties
- properties for the JavaMail session- See Also:
Session
-
setSSLEnabled
public void setSSLEnabled(boolean enable)
-
isSSLEnabled
public boolean isSSLEnabled()
-
getStoreProtocol
public String getStoreProtocol()
-
setStoreProtocol
public void setStoreProtocol(String storeProtocol)
-
isDebug
public boolean isDebug()
-
setDebug
public void setDebug(boolean debug)
-
isConvertSeen
public boolean isConvertSeen()
-
setConvertSeenMessages
public void setConvertSeenMessages(boolean convertSeen)
-
getSMTPRelay
public SMTPRelay getSMTPRelay()
-
setSMTPRelay
public void setSMTPRelay(SMTPRelay smtpRelay)
-
validate
public void validate() throws IllegalArgumentException
- Throws:
IllegalArgumentException
-
-