com.atlassian.mywork.pageobjects.mobile
Class NotificationDrilldownPage

java.lang.Object
  extended by com.atlassian.mywork.pageobjects.AbstractPageObject
      extended by com.atlassian.mywork.pageobjects.mobile.MobilePageObject
          extended by com.atlassian.mywork.pageobjects.mobile.NotificationDrilldownPage
All Implemented Interfaces:
com.atlassian.pageobjects.Page

public class NotificationDrilldownPage
extends MobilePageObject
implements com.atlassian.pageobjects.Page


Field Summary
 
Fields inherited from class com.atlassian.mywork.pageobjects.mobile.MobilePageObject
MOBILE_URL
 
Fields inherited from class com.atlassian.mywork.pageobjects.AbstractPageObject
elementFinder, pageBinder, ROOT_URL
 
Constructor Summary
NotificationDrilldownPage()
           
NotificationDrilldownPage(java.lang.String notificationId)
           
 
Method Summary
 MobileNotificationsPage back()
           
 void createTask()
           
 void expand()
           
 java.util.List<NotificationAction> getActions()
           
protected static java.util.List<NotificationAction> getActions(com.atlassian.pageobjects.PageBinder pageBinder, com.atlassian.pageobjects.elements.PageElement element)
           
 java.lang.String getActionText()
           
 java.util.List<NotificationDrilldownItem> getAllItems()
          Returns all drilldown items, even if they are collapsed.
 java.lang.String getCollapsedText()
           
 java.lang.String getItemTitle()
           
 java.lang.String getUrl()
           
 java.util.List<NotificationDrilldownItem> getVisibleItems()
          Returns only the Drilldown items that are not collapsed.
<P> P
gotoLink(int actionIndex, java.lang.Class<P> pageClass, java.lang.Object... args)
           
 boolean hasHeader()
           
 boolean hasTask()
           
 boolean isCollapsed()
           
 TaskDetailPage openTask()
           
 void waitUntilVisible()
           
 
Methods inherited from class com.atlassian.mywork.pageobjects.mobile.MobilePageObject
backButton, switchTo
 
Methods inherited from class com.atlassian.mywork.pageobjects.AbstractPageObject
waitForTransition
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NotificationDrilldownPage

public NotificationDrilldownPage()

NotificationDrilldownPage

public NotificationDrilldownPage(java.lang.String notificationId)
Method Detail

waitUntilVisible

public void waitUntilVisible()

getUrl

public java.lang.String getUrl()
Specified by:
getUrl in interface com.atlassian.pageobjects.Page

gotoLink

public <P> P gotoLink(int actionIndex,
                      java.lang.Class<P> pageClass,
                      java.lang.Object... args)

back

public MobileNotificationsPage back()

hasHeader

public boolean hasHeader()

getItemTitle

public java.lang.String getItemTitle()

getActionText

public java.lang.String getActionText()

isCollapsed

public boolean isCollapsed()

getCollapsedText

public java.lang.String getCollapsedText()

expand

public void expand()

hasTask

public boolean hasTask()

createTask

public void createTask()

openTask

public TaskDetailPage openTask()

getVisibleItems

public java.util.List<NotificationDrilldownItem> getVisibleItems()
Returns only the Drilldown items that are not collapsed.


getAllItems

public java.util.List<NotificationDrilldownItem> getAllItems()
Returns all drilldown items, even if they are collapsed.


getActions

public java.util.List<NotificationAction> getActions()

getActions

protected static java.util.List<NotificationAction> getActions(com.atlassian.pageobjects.PageBinder pageBinder,
                                                               com.atlassian.pageobjects.elements.PageElement element)


Copyright © 2012 Atlassian. All Rights Reserved.