com.atlassian.confluence.it.oldconfluence
Class OldAdminConsole

java.lang.Object
  extended by 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:
v4.3

Field Summary
protected  org.slf4j.Logger log
           
 
Method Summary
 void addSmtpServer(String serverName, String from, String subjectPrefix, String hostname, int port)
          Adds a SMTP server to the Confluence configuration
static OldAdminConsole getAdminConsole(net.sourceforge.jwebunit.junit.WebTester webTester)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

log

protected final transient org.slf4j.Logger log
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 Confluence
from - emails sent via this server will have this value in the from header
subjectPrefix - this prefix will be appended to all mail sent via this server
hostname - the host name of the server to connect to
port - the port of the server to connect to


Copyright © 2003-2013 Atlassian. All Rights Reserved.