com.atlassian.confluence.it.admin
Class AdminConsole

java.lang.Object
  extended by com.atlassian.confluence.it.admin.AdminConsole

public class AdminConsole
extends java.lang.Object


Method Summary
 void addSmtpServer(java.lang.String serverName, java.lang.String from, java.lang.String subjectPrefix, java.lang.String hostname, int port)
          Adds a SMTP server to the Confluence configuration
 boolean enableAutoHtmlEncoding(boolean enable)
          Enables or disables the auto HTML encoding
 void enableCaptcha(boolean enable)
          Configures captcha for all users, including administrator
static AdminConsole getAdminConsole(net.sourceforge.jwebunit.junit.WebTester webTester)
           
 void removeAllSmtpServers()
          Removes all configured SMTP servers from the Confluence configuration
 void resetGlobalLogo()
           
 void setGlobalLogo(java.io.File logo)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getAdminConsole

public static AdminConsole getAdminConsole(net.sourceforge.jwebunit.junit.WebTester webTester)

enableCaptcha

public void enableCaptcha(boolean enable)
Configures captcha for all users, including administrator

Parameters:
enable - true to enable captcha, false to disable captcha

enableAutoHtmlEncoding

public boolean enableAutoHtmlEncoding(boolean enable)
Enables or disables the auto HTML encoding

Parameters:
enable -
Returns:
true if auto HTML encoding was enabled, false otherwise

setGlobalLogo

public void setGlobalLogo(java.io.File logo)

resetGlobalLogo

public void resetGlobalLogo()

addSmtpServer

public void addSmtpServer(java.lang.String serverName,
                          java.lang.String from,
                          java.lang.String subjectPrefix,
                          java.lang.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

removeAllSmtpServers

public void removeAllSmtpServers()
Removes all configured SMTP servers from the Confluence configuration



Copyright © 2003-2008 Atlassian Pty Ltd. All Rights Reserved.