Class AdminConsole
java.lang.Object
com.atlassian.confluence.it.admin.AdminConsole
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionvoidcheckLicenseCountIs(int licenseCount) voidcheckLicenseExpiresIn(int days) voidcheckLicenseType(String type) voideditLayout(String decoratorName, String value) voidenableCaptcha(boolean enable) Configures captcha for all users, including administratorvoidenableLanguage(String locale) voidenableScheduledJob(String id, boolean enable) voidstatic AdminConsolestatic AdminConsolegetAdminConsole(net.sourceforge.jwebunit.junit.WebTester webTester) intstatic LicensevoidRemoves all configured SMTP servers from the Confluence configurationvoidvoidresetLayout(String decoratorName) voidsetEmailMask(String setting) voidsetGlobalTheme(String themeKey) voidupdateLicense(License license) Change the system's license.voidvalidateWebSudo(User user) voidvalidateWebSudo(String password) View the admin console via direct URL request.voidvoidvoid
-
Field Details
-
log
protected final transient org.slf4j.Logger log
-
-
Method Details
-
getAdminConsole
-
getAdminConsole
-
editGeneralConfig
-
editSpacesConfiguration
-
browseToGeneralConfig
-
editSecurityConfig
-
browseToSecurityConfig
-
browseToDefaultSpaceLogoConfig
-
viewAdminConsole
View the admin console via direct URL request. -
viewMaintenance
-
forceViewGlobalAdmin
public void forceViewGlobalAdmin() -
setGlobalTheme
-
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
-
validateWebSudo
-
removeAllSmtpServers
public void removeAllSmtpServers()Removes all configured SMTP servers from the Confluence configuration -
viewMailServers
-
viewUser
-
viewUser
-
viewUser
-
viewUser
-
manageUsers
-
viewSystemInformation
public void viewSystemInformation() -
viewLayoutsPage
public void viewLayoutsPage() -
editLayout
-
resetLayout
-
updateLicense
Change the system's license. Remember to set it back to the default afterwards. -
setEmailMask
-
getLicenseType
-
checkLicenseType
-
getDefaultBuildLicenseForType
-
checkLicenseCountIs
public void checkLicenseCountIs(int licenseCount) -
checkLicenseExpiresIn
public void checkLicenseExpiresIn(int days) -
enableScheduledJob
-
enableLanguage
-
viewScheduledJobs
public void viewScheduledJobs() -
getLoggingAndProfiling
-
viewGlobalTemplates
- Throws:
Exception
-
getCurrentMailQueueSize
public int getCurrentMailQueueSize()
-