com.atlassian.confluence.it.admin
Class AdminConsole
java.lang.Object
com.atlassian.confluence.it.admin.AdminConsole
public class AdminConsole
- extends Object
|
Field Summary |
protected org.slf4j.Logger |
log
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
log
protected final transient org.slf4j.Logger log
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 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
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()
getLoggingAndProfiling
public LoggingAndProfiling getLoggingAndProfiling()
Copyright © 2003-2013 Atlassian. All Rights Reserved.