com.atlassian.confluence.it.admin
Class AdminConsole

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

public class AdminConsole
extends Object


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
 ViewGeneralConfiguration browseToGeneralConfig()
           
 GlobalLogo browseToGlobalLogoConfig()
           
 ViewSecurityConfiguration browseToSecurityConfig()
           
 EditGeneralConfiguration editGeneralConfig()
           
 void editLayout(String decoratorName, String value)
           
 EditSecurityConfiguration editSecurityConfig()
           
 void enableCaptcha(boolean enable)
          Configures captcha for all users, including administrator
 void enableLanguage(String locale)
           
 void enableScheduledJob(String group, String id, boolean enable)
           
static AdminConsole getAdminConsole(net.sourceforge.jwebunit.junit.WebTester webTester)
           
 ManageUsers manageUsers()
           
 void removeAllSmtpServers()
          Removes all configured SMTP servers from the Confluence configuration
 void resetGlobalThemeToDefault()
           
 void resetLayout(String decoratorName)
           
 void setEmailMask(String setting)
           
 void setGlobalTheme(String themeKey)
           
 void updateLicense(License license)
          Change the system's license.
 void validateWebSudo(String password)
           
 void validateWebSudo(User user)
           
 void viewAdminConsole()
          View the admin console via direct URL request.
 AttachmentStorageConfiguration viewAttachmentStorage()
           
 void viewLayoutsPage()
           
 void viewPlugin(String pluginKey)
           
 void viewPlugins()
           
 void viewScheduledJobs()
           
 void viewSystemInformation()
           
 ViewUser viewUser(String username)
           
 ViewUser viewUser(User user)
           
 
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 AdminConsole getAdminConsole(net.sourceforge.jwebunit.junit.WebTester webTester)

editGeneralConfig

public EditGeneralConfiguration editGeneralConfig()

browseToGeneralConfig

public ViewGeneralConfiguration browseToGeneralConfig()

editSecurityConfig

public EditSecurityConfiguration editSecurityConfig()

browseToSecurityConfig

public ViewSecurityConfiguration browseToSecurityConfig()

browseToGlobalLogoConfig

public GlobalLogo browseToGlobalLogoConfig()

viewAdminConsole

public void viewAdminConsole()
View the admin console via direct URL request.


setGlobalTheme

public void setGlobalTheme(String themeKey)

resetGlobalThemeToDefault

public void resetGlobalThemeToDefault()

enableCaptcha

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

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

validateWebSudo

public void validateWebSudo(User user)

validateWebSudo

public void validateWebSudo(String password)

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

removeAllSmtpServers

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


viewAttachmentStorage

public AttachmentStorageConfiguration viewAttachmentStorage()

viewUser

public ViewUser viewUser(User user)

viewUser

public ViewUser viewUser(String username)

manageUsers

public ManageUsers manageUsers()

viewPlugins

public void viewPlugins()

viewPlugin

public void viewPlugin(String pluginKey)

viewSystemInformation

public void viewSystemInformation()

viewLayoutsPage

public void viewLayoutsPage()

editLayout

public void editLayout(String decoratorName,
                       String value)

resetLayout

public void resetLayout(String decoratorName)

updateLicense

public void updateLicense(License license)
Change the system's license. Remember to set it back to the default afterwards.


setEmailMask

public void setEmailMask(String setting)

enableScheduledJob

public void enableScheduledJob(String group,
                               String id,
                               boolean enable)

enableLanguage

public void enableLanguage(String locale)

viewScheduledJobs

public void viewScheduledJobs()


Copyright © 2003-2012 Atlassian. All Rights Reserved.