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
 DefaultSpaceLogo browseToDefaultSpaceLogoConfig()
           
 ViewGeneralConfiguration browseToGeneralConfig()
           
 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)
           
 void forceViewGlobalAdmin()
           
static AdminConsole getAdminConsole()
           
static AdminConsole getAdminConsole(net.sourceforge.jwebunit.junit.WebTester webTester)
           
 int getCurrentMailQueueSize()
           
 LoggingAndProfiling getLoggingAndProfiling()
           
 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 setThreadedComments(boolean enable)
           
 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()
           
 GlobalTemplatesPage viewGlobalTemplates()
           
 void viewLayoutsPage()
           
 MailServerPage viewMailServers()
           
 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()

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()

browseToDefaultSpaceLogoConfig

public DefaultSpaceLogo browseToDefaultSpaceLogoConfig()

viewAdminConsole

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


forceViewGlobalAdmin

public void forceViewGlobalAdmin()

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)

removeAllSmtpServers

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


viewMailServers

public MailServerPage viewMailServers()

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()

getLoggingAndProfiling

public LoggingAndProfiling getLoggingAndProfiling()

viewGlobalTemplates

public GlobalTemplatesPage viewGlobalTemplates()
                                        throws Exception
Throws:
Exception

setThreadedComments

public void setThreadedComments(boolean enable)

getCurrentMailQueueSize

public int getCurrentMailQueueSize()


Copyright © 2003-2013 Atlassian. All Rights Reserved.