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 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

      protected SystemAdminSidebarMenu systemAdminSidebarMenu
  • Constructor Details

    • CurrentSessionsPage

      public CurrentSessionsPage()
  • Method Details

    • init

      public void init()
    • setFilteringElements

      protected abstract void setFilteringElements(FilteringCriteria criteria)
    • sessionFromRow

      protected abstract Session sessionFromRow(List<com.atlassian.pageobjects.elements.PageElement> elements)
    • withWaitUntilSearchFinished

      protected void withWaitUntilSearchFinished(Runnable function)
    • getLastTimestamp

      protected String getLastTimestamp()
    • setFilteringCriteria

      public void setFilteringCriteria(FilteringCriteria filteringCriteria)
    • getSessions

      public List<Session> getSessions()
    • isContentLoaded

      protected boolean isContentLoaded()
      Description copied from class: AbstractCrowdPage
      Returns whether the content has loaded. Used in AbstractCrowdPage.waitUntilContentLoaded(). Subclasses should override this method to wait for a distinguishing content to appear. E.g. a page title.
      Overrides:
      isContentLoaded in class AbstractCrowdPage
    • expire

      public void expire(Session session)
    • getSystemAdminMenu

      public SystemAdminSidebarMenu getSystemAdminMenu()