com.atlassian.jira.dev.backdoor
Class MailServersBackdoor
java.lang.Object
com.atlassian.jira.dev.backdoor.MailServersBackdoor
public class MailServersBackdoor
- extends Object
Use this backdoor to manipulate Mail Servers as part of setup for tests.
This class should only be called by the MailServersControl
.
- Since:
- v5.0
Method Summary |
javax.ws.rs.core.Response |
addPopServer(String name,
String description,
String protocol,
String serverName,
String port,
String username,
String password)
|
javax.ws.rs.core.Response |
addSmtpServer(String name,
String description,
String from,
String prefix,
String serverName,
String port)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MailServersBackdoor
public MailServersBackdoor()
addSmtpServer
public javax.ws.rs.core.Response addSmtpServer(String name,
String description,
String from,
String prefix,
String serverName,
String port)
throws com.atlassian.mail.MailException
- Throws:
com.atlassian.mail.MailException
addPopServer
public javax.ws.rs.core.Response addPopServer(String name,
String description,
String protocol,
String serverName,
String port,
String username,
String password)
throws com.atlassian.mail.MailException
- Throws:
com.atlassian.mail.MailException
Copyright © 2002-2011 Atlassian. All Rights Reserved.