Class OldAdminConsole
- java.lang.Object
 - 
- com.atlassian.confluence.it.oldconfluence.OldAdminConsole
 
 
- 
public class OldAdminConsole extends Object
A version of the AdminConsole that works with the com.atlassian.confluence.setup.SetupOldConfluenceAcceptanceTest.See confluence.old.version in the confluence-multi-test POM for which version this is compatible with.
Use AdminConsole where possible, this only contains overrides for functionality where the markup has changed.
- Since:
 - 4.3
 
 
- 
- 
Field Summary
Fields Modifier and Type Field Description protected org.slf4j.Loggerlog 
- 
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddSmtpServer(String serverName, String from, String subjectPrefix, String hostname, int port)Adds a SMTP server to the Confluence configurationstatic OldAdminConsolegetAdminConsole(net.sourceforge.jwebunit.junit.WebTester webTester) 
 - 
 
- 
- 
Method Detail
- 
getAdminConsole
public static OldAdminConsole getAdminConsole(net.sourceforge.jwebunit.junit.WebTester webTester)
 
- 
addSmtpServer
public void addSmtpServer(String serverName, String from, String subjectPrefix, String hostname, int port)
Adds a SMTP server to the Confluence configuration- Parameters:
 serverName- description of the server for Confluencefrom- emails sent via this server will have this value in the from headersubjectPrefix- this prefix will be appended to all mail sent via this serverhostname- the host name of the server to connect toport- the port of the server to connect to
 
 - 
 
 -