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
 void delete(java.lang.Long mailServerId)
           
protected  java.io.InputStream getConfigurationInputStream(java.lang.String resource)
           
protected  java.lang.Class getSMTPMailServerClass()
           
 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
create, getConfigFile, getDefaultPopMailServer, getDefaultSMTPMailServer, getMailServer, getMailServer, getPopMailServerClass, 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

getSMTPMailServerClass

protected java.lang.Class getSMTPMailServerClass()
Overrides:
getSMTPMailServerClass in class com.atlassian.mail.server.managers.XMLMailServerManager


Copyright © 2010 Atlassian. All Rights Reserved.