Class BackupPage
java.lang.Object
com.atlassian.crowd.pageobjects.AbstractCrowdPage
com.atlassian.crowd.pageobjects.administration.BackupPage
- All Implemented Interfaces:
com.atlassian.pageobjects.Page
-
Field Summary
Modifier and TypeFieldDescriptionprotected com.atlassian.pageobjects.elements.PageElement
protected com.atlassian.pageobjects.elements.PageElement
protected com.atlassian.pageobjects.elements.CheckboxElement
protected com.atlassian.pageobjects.elements.PageElement
protected com.atlassian.pageobjects.PageBinder
protected com.atlassian.pageobjects.elements.PageElement
protected com.atlassian.pageobjects.elements.CheckboxElement
protected com.atlassian.pageobjects.elements.CheckboxElement
protected SystemAdminSidebarMenu
Fields inherited from class com.atlassian.crowd.pageobjects.AbstractCrowdPage
auiMessages, DEFAULT_CANCEL_BUTTON_ID, DEFAULT_FORM_FIELD_SELECTOR, DEFAULT_SUBMIT_BUTTON_SELECTOR, driver, finder, footer, forgedLicenseWarningBanner, I18N, NEXT_BUTTON_SELECTOR, pageBinder, systemAdminMenu, TABLE_ROWS_SELECTOR, VALUE_DATA_ATTRIBUTE
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
getUrl()
void
init()
boolean
protected boolean
Returns whether the content has loaded.boolean
boolean
void
void
setBackupConnectorDirectoriesEnabled
(boolean enabled) void
setBackupFilename
(String filename) void
setDailyBackupTime
(int hour, int minute) void
setResetDomainEnabled
(boolean enabled) void
setScheduledBackupEnabled
(boolean enabled) Methods inherited from class com.atlassian.crowd.pageobjects.AbstractCrowdPage
bindAndWaitUntilPageLoad, clickWithJsById, executeJavascript, getAuiMessages, getForgedLicenseWarningBanner, getHeader, getJsExecutor, getSystemAdminDropdownMenu, initializeSystemAdminMenu, isSystemAdminDropdownMenuPresent, reloadWithoutWaitingForContent, selectOptionById, selectOptionByLabel, setTextField, setTextFieldValueAndPressEnter, waitUntilAsyncFinished, waitUntilAsyncFinished, waitUntilContentLoaded, waitUntilPageLoad
-
Field Details
-
resetDomainEnabled
protected com.atlassian.pageobjects.elements.CheckboxElement resetDomainEnabled -
backupConnectorDirectoriesEnabled
protected com.atlassian.pageobjects.elements.CheckboxElement backupConnectorDirectoriesEnabled -
scheduledBackupEnabled
protected com.atlassian.pageobjects.elements.CheckboxElement scheduledBackupEnabled -
applyButton
protected com.atlassian.pageobjects.elements.PageElement applyButton -
backupFileName
protected com.atlassian.pageobjects.elements.PageElement backupFileName -
createBackupButton
protected com.atlassian.pageobjects.elements.PageElement createBackupButton -
auiSuccessFlag
protected com.atlassian.pageobjects.elements.PageElement auiSuccessFlag -
binder
@Inject protected com.atlassian.pageobjects.PageBinder binder -
systemAdminSidebarMenu
-
-
Constructor Details
-
BackupPage
public BackupPage()
-
-
Method Details
-
getUrl
-
isContentLoaded
protected boolean isContentLoaded()Description copied from class:AbstractCrowdPage
Returns whether the content has loaded. Used inAbstractCrowdPage.waitUntilContentLoaded()
. Subclasses should override this method to wait for a distinguishing content to appear. E.g. a page title.- Overrides:
isContentLoaded
in classAbstractCrowdPage
-
init
public void init() -
setResetDomainEnabled
public void setResetDomainEnabled(boolean enabled) -
setBackupConnectorDirectoriesEnabled
public void setBackupConnectorDirectoriesEnabled(boolean enabled) -
setScheduledBackupEnabled
public void setScheduledBackupEnabled(boolean enabled) -
setDailyBackupTime
public void setDailyBackupTime(int hour, int minute) -
saveConfiguration
public void saveConfiguration() -
setBackupFilename
-
createBackup
public void createBackup() -
isResetDomainEnabled
public boolean isResetDomainEnabled() -
isBackupConnectorDirectoriesEnabled
public boolean isBackupConnectorDirectoriesEnabled() -
isScheduledBackupEnabled
public boolean isScheduledBackupEnabled() -
getDailyBackupTime
-
getSystemAdminMenu
-