com.atlassian.bamboo.mail
Class BambooMailServerManager
java.lang.Object
com.atlassian.mail.server.managers.AbstractMailServerManager
com.atlassian.mail.server.managers.XMLMailServerManager
com.atlassian.bamboo.mail.BambooMailServerManager
- All Implemented Interfaces:
- com.atlassian.mail.server.MailServerManager
public class BambooMailServerManager
- extends com.atlassian.mail.server.managers.XMLMailServerManager
Fields inherited from interface com.atlassian.mail.server.MailServerManager |
SERVER_TYPES |
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 |
BambooMailServerManager
public BambooMailServerManager()
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.