com.atlassian.jira.webtest.framework.impl.selenium.page.admin.plugins
Class AbstractSeleniumPluginModuleComponent<T extends PluginModuleComponent<T>>

java.lang.Object
  extended by com.atlassian.jira.webtest.framework.impl.selenium.core.SeleniumContextAware
      extended by com.atlassian.jira.webtest.framework.impl.selenium.core.AbstractSeleniumPageObject
          extended by com.atlassian.jira.webtest.framework.impl.selenium.core.AbstractLocatorBasedPageObject
              extended by com.atlassian.jira.webtest.framework.impl.selenium.page.admin.plugins.AbstractSeleniumPluginModuleComponent<T>
All Implemented Interfaces:
Localizable, PageObject, PluginModuleComponent<T>
Direct Known Subclasses:
SeleniumManagePluginModuleComponent

public class AbstractSeleniumPluginModuleComponent<T extends PluginModuleComponent<T>>
extends AbstractLocatorBasedPageObject
implements PluginModuleComponent<T>

TODO: Document this class / interface here

Since:
v4.3

Field Summary
protected  Locator listLocator
           
protected  Locator mainLocator
           
protected  String moduleKey
           
protected  String pluginKey
           
 
Fields inherited from class com.atlassian.jira.webtest.framework.impl.selenium.core.SeleniumContextAware
assertThat, client, context, timeouts
 
Constructor Summary
protected AbstractSeleniumPluginModuleComponent(SeleniumContext context, Locator listLocator, String pluginKey, String moduleKey, Class<T> managePluginModuleComponentClass)
           
 
Method Summary
protected  SeleniumLocator detector()
          Main locator of this page object.
 String getCompletePluginModuleKey()
           
 Locator locator()
          Locator unambiguously locating this page object.
 
Methods inherited from class com.atlassian.jira.webtest.framework.impl.selenium.core.AbstractLocatorBasedPageObject
isReady
 
Methods inherited from class com.atlassian.jira.webtest.framework.impl.selenium.core.AbstractSeleniumPageObject
body, conditions, css, forClass, id, jQuery, locatorFor, name, queries, waitFor, xpath
 
Methods inherited from class com.atlassian.jira.webtest.framework.impl.selenium.core.SeleniumContextAware
context
 
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.framework.core.PageObject
context, isReady
 

Field Detail

pluginKey

protected final String pluginKey

moduleKey

protected final String moduleKey

listLocator

protected final Locator listLocator

mainLocator

protected final Locator mainLocator
Constructor Detail

AbstractSeleniumPluginModuleComponent

protected AbstractSeleniumPluginModuleComponent(SeleniumContext context,
                                                Locator listLocator,
                                                String pluginKey,
                                                String moduleKey,
                                                Class<T> managePluginModuleComponentClass)
Method Detail

getCompletePluginModuleKey

public String getCompletePluginModuleKey()
Specified by:
getCompletePluginModuleKey in interface PluginModuleComponent<T extends PluginModuleComponent<T>>

locator

public Locator locator()
Description copied from interface: Localizable
Locator unambiguously locating this page object.

Specified by:
locator in interface Localizable
Returns:
locator

detector

protected SeleniumLocator detector()
Description copied from class: AbstractLocatorBasedPageObject
Main locator of this page object. Its presence means that this object is ready to be manipulated in the test.

Specified by:
detector in class AbstractLocatorBasedPageObject
Returns:
main locator of this page object


Copyright © 2002-2013 Atlassian. All Rights Reserved.