com.atlassian.jira.service.services.imap
Class ImapService
java.lang.Object
com.atlassian.jira.service.AbstractService
com.atlassian.jira.service.services.file.AbstractMessageHandlingService
com.atlassian.jira.service.services.mail.MailFetcherService
com.atlassian.jira.service.services.imap.ImapService
- All Implemented Interfaces:
- com.atlassian.configurable.ObjectConfigurable, JiraService
public class ImapService
- extends MailFetcherService
Connect to a IMAP mailbox specified by the 'mail-hostname', 'username' and 'password' parameters, and
for each message call handleMessage().
Reads mail from a specified IMAP 'foldername' JRA-6067 (default is INBOX)
Methods inherited from class com.atlassian.jira.service.AbstractService |
getDefaultProperty, getDescription, getKey, getLongProperty, getName, getObjectConfiguration, getProperties, getProperty, getTextProperty, hasProperty, isInternal, isUnique, setName |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface com.atlassian.configurable.ObjectConfigurable |
getDefaultProperty, getKey, getLongProperty, getProperties, getProperty, getTextProperty, hasProperty |
ImapService
public ImapService()
getProtocol
public String getProtocol(boolean useSSL)
- Specified by:
getProtocol
in class MailFetcherService
getFolderName
protected String getFolderName()
- Specified by:
getFolderName
in class MailFetcherService
getObjectConfiguration
public com.atlassian.configurable.ObjectConfiguration getObjectConfiguration()
throws com.atlassian.configurable.ObjectConfigurationException
- Throws:
com.atlassian.configurable.ObjectConfigurationException
Copyright © 2002-2009 Atlassian. All Rights Reserved.