com.atlassian.jira.service.services.pop
Class PopService

java.lang.Object
  extended by com.atlassian.jira.service.AbstractService
      extended by com.atlassian.jira.service.services.file.AbstractMessageHandlingService
          extended by com.atlassian.jira.service.services.mail.MailFetcherService
              extended by com.atlassian.jira.service.services.pop.PopService
All Implemented Interfaces:
com.atlassian.configurable.ObjectConfigurable, JiraService

public class PopService
extends MailFetcherService

Connect to a POP mailbox specified by the 'mail-hostname', 'username' and 'password' parameters, and for each message call handleMessage().


Field Summary
 
Fields inherited from class com.atlassian.jira.service.services.mail.MailFetcherService
DEFAULT_FOLDER, FORWARD_EMAIL, mailserverId, USE_SSL
 
Fields inherited from class com.atlassian.jira.service.services.file.AbstractMessageHandlingService
handler, KEY_HANDLER, KEY_HANDLER_PARAMS
 
Fields inherited from class com.atlassian.jira.service.AbstractService
name
 
Fields inherited from interface com.atlassian.jira.service.JiraService
NAME_COMPARATOR
 
Constructor Summary
PopService()
           
 
Method Summary
protected  String getFolderName()
           
 com.atlassian.configurable.ObjectConfiguration getObjectConfiguration()
           
protected  String getProtocol(boolean useSSL)
           
 
Methods inherited from class com.atlassian.jira.service.services.mail.MailFetcherService
destroy, init, run
 
Methods inherited from class com.atlassian.jira.service.services.file.AbstractMessageHandlingService
getHandler
 
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
 

Constructor Detail

PopService

public PopService()
Method Detail

getProtocol

protected 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-2007 Atlassian. All Rights Reserved.