com.atlassian.bamboo.mail
Class BambooMailServerManager

java.lang.Object
  extended by com.atlassian.mail.server.managers.AbstractMailServerManager
      extended by com.atlassian.mail.server.managers.XMLMailServerManager
          extended by com.atlassian.bamboo.mail.BambooMailServerManager
All Implemented Interfaces:
com.atlassian.mail.server.MailServerManager

public class BambooMailServerManager
extends com.atlassian.mail.server.managers.XMLMailServerManager


Field Summary
 
Fields inherited from interface com.atlassian.mail.server.MailServerManager
SERVER_TYPES
 
Constructor Summary
BambooMailServerManager()
           
 
Method Summary
 java.lang.Long create(com.atlassian.mail.server.MailServer mailServer)
           
 void delete(java.lang.Long mailServerId)
           
protected  java.io.InputStream getConfigurationInputStream(java.lang.String resource)
           
 void update(com.atlassian.mail.server.MailServer mailServer)
          mailServer parameter is not needed in this implemention as a simple refresh is just called
 
Methods inherited from class com.atlassian.mail.server.managers.XMLMailServerManager
getConfigFile, getDefaultPopMailServer, getDefaultSMTPMailServer, getMailServer, getMailServer, getPopMailServers, getServerNames, getSmtpMailServers, init
 
Methods inherited from class com.atlassian.mail.server.managers.AbstractMailServerManager
getSession
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BambooMailServerManager

public BambooMailServerManager()
Method Detail

getConfigurationInputStream

protected java.io.InputStream getConfigurationInputStream(java.lang.String resource)
Overrides:
getConfigurationInputStream in class com.atlassian.mail.server.managers.XMLMailServerManager

delete

public void delete(java.lang.Long mailServerId)
            throws com.atlassian.mail.MailException
Specified by:
delete in interface com.atlassian.mail.server.MailServerManager
Overrides:
delete in class com.atlassian.mail.server.managers.XMLMailServerManager
Throws:
com.atlassian.mail.MailException

update

public void update(com.atlassian.mail.server.MailServer mailServer)
            throws com.atlassian.mail.MailException
mailServer parameter is not needed in this implemention as a simple refresh is just called

Specified by:
update in interface com.atlassian.mail.server.MailServerManager
Overrides:
update in class com.atlassian.mail.server.managers.XMLMailServerManager
Parameters:
mailServer - this is not needed
Throws:
com.atlassian.mail.MailException

create

public java.lang.Long create(com.atlassian.mail.server.MailServer mailServer)
                      throws com.atlassian.mail.MailException
Specified by:
create in interface com.atlassian.mail.server.MailServerManager
Overrides:
create in class com.atlassian.mail.server.managers.XMLMailServerManager
Throws:
com.atlassian.mail.MailException


Copyright © 2008 Atlassian Pty Ltd. All Rights Reserved.