Class AdminConsole
- java.lang.Object
-
- com.atlassian.confluence.it.admin.AdminConsole
-
public class AdminConsole extends Object
-
-
Field Summary
Fields Modifier and Type Field Description protected org.slf4j.Logger
log
-
Method Summary
-
-
-
Method Detail
-
getAdminConsole
public static AdminConsole getAdminConsole()
-
getAdminConsole
public static AdminConsole getAdminConsole(net.sourceforge.jwebunit.junit.WebTester webTester)
-
editGeneralConfig
public EditGeneralConfiguration editGeneralConfig()
-
editSpacesConfiguration
public EditSpacesConfiguration editSpacesConfiguration()
-
browseToGeneralConfig
public ViewGeneralConfiguration browseToGeneralConfig()
-
editSecurityConfig
public EditSecurityConfiguration editSecurityConfig()
-
browseToSecurityConfig
public ViewSecurityConfiguration browseToSecurityConfig()
-
browseToDefaultSpaceLogoConfig
public DefaultSpaceLogo browseToDefaultSpaceLogoConfig()
-
viewAdminConsole
public AdminConsole viewAdminConsole()
View the admin console via direct URL request.
-
viewMaintenance
public ViewMaintenance viewMaintenance()
-
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()
-
viewUser
public ViewUser viewUser(String username, net.sourceforge.jwebunit.junit.WebTester tester)
-
manageUsers
public ManageUsers manageUsers()
-
viewSystemInformation
public void viewSystemInformation()
-
viewLayoutsPage
public void viewLayoutsPage()
-
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)
-
checkLicenseType
public void checkLicenseType(String type)
-
checkLicenseCountIs
public void checkLicenseCountIs(int licenseCount)
-
checkLicenseExpiresIn
public void checkLicenseExpiresIn(int days)
-
enableScheduledJob
public void enableScheduledJob(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
-
getCurrentMailQueueSize
public int getCurrentMailQueueSize()
-
-