Class CurrentSessionsPage<FilteringCriteria,Session extends AbstractSession>
java.lang.Object
com.atlassian.crowd.pageobjects.AbstractCrowdPage
com.atlassian.crowd.pageobjects.administration.CurrentSessionsPage<FilteringCriteria,Session>
- All Implemented Interfaces:
com.atlassian.pageobjects.Page
- Direct Known Subclasses:
ApplicationSessionsPage
,UserSessionsPage
public abstract class CurrentSessionsPage<FilteringCriteria,Session extends AbstractSession>
extends AbstractCrowdPage
-
Field Summary
Modifier and TypeFieldDescriptionprotected com.atlassian.pageobjects.PageBinder
protected com.atlassian.pageobjects.elements.PageElement
protected com.atlassian.webdriver.utils.element.WebDriverPoller
protected com.atlassian.pageobjects.elements.PageElement
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
protected String
void
init()
protected boolean
Returns whether the content has loaded.protected abstract Session
sessionFromRow
(List<com.atlassian.pageobjects.elements.PageElement> elements) void
setFilteringCriteria
(FilteringCriteria filteringCriteria) protected abstract void
setFilteringElements
(FilteringCriteria criteria) protected void
withWaitUntilSearchFinished
(Runnable function) 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
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.atlassian.pageobjects.Page
getUrl
-
Field Details
-
binder
@Inject protected com.atlassian.pageobjects.PageBinder binder -
poller
@Inject protected com.atlassian.webdriver.utils.element.WebDriverPoller poller -
nameFilter
protected com.atlassian.pageobjects.elements.PageElement nameFilter -
sessionsTable
protected com.atlassian.pageobjects.elements.PageElement sessionsTable -
systemAdminSidebarMenu
-
-
Constructor Details
-
CurrentSessionsPage
public CurrentSessionsPage()
-
-
Method Details
-
init
public void init() -
setFilteringElements
-
sessionFromRow
-
withWaitUntilSearchFinished
-
getLastTimestamp
-
setFilteringCriteria
-
getSessions
-
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
-
expire
-
getSystemAdminMenu
-