com.atlassian.jira.webtest.selenium.framework.pages
Class AbstractGlobalPage<T extends AbstractGlobalPage>

java.lang.Object
  extended by com.atlassian.jira.webtest.selenium.framework.core.AbstractSeleniumPageObject
      extended by com.atlassian.jira.webtest.selenium.framework.pages.AbstractPage
          extended by com.atlassian.jira.webtest.selenium.framework.pages.AbstractGlobalPage<T>
All Implemented Interfaces:
PageObject, GlobalPage<T>, Page
Direct Known Subclasses:
IssueNavigator

public abstract class AbstractGlobalPage<T extends AbstractGlobalPage>
extends AbstractPage
implements Page, GlobalPage<T>

Abstract representation of the GlobalPage interface, defined in terms of linkLocator() provided by subclasses.

Since:
v4.2

Field Summary
 
Fields inherited from class com.atlassian.jira.webtest.selenium.framework.core.AbstractSeleniumPageObject
assertThat, client, context
 
Constructor Summary
protected AbstractGlobalPage(Class<T> targetType, SeleniumContext ctx)
           
 
Method Summary
 T goTo()
          Go to itself.
protected abstract  String linkLocator()
          Locator of a globally accessible link leading to this page.
 
Methods inherited from class com.atlassian.jira.webtest.selenium.framework.pages.AbstractPage
assertReady, checkOnPage, detector, isAt
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.atlassian.jira.webtest.selenium.framework.pages.Page
isAt
 
Methods inherited from interface com.atlassian.jira.webtest.selenium.framework.core.PageObject
assertReady
 

Constructor Detail

AbstractGlobalPage

protected AbstractGlobalPage(Class<T> targetType,
                             SeleniumContext ctx)
Method Detail

goTo

public final T goTo()
Description copied from interface: GlobalPage
Go to itself.

Specified by:
goTo in interface GlobalPage<T extends AbstractGlobalPage>
Returns:
this global page instance.

linkLocator

protected abstract String linkLocator()
Locator of a globally accessible link leading to this page.

Returns:
global link locator


Copyright © 2002-2013 Atlassian. All Rights Reserved.