com.atlassian.jira.webtest.framework.impl.selenium.page.admin.plugins
Class SeleniumManagePluginComponent

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.AbstractSeleniumPluginComponent<ManagePluginComponent>
                  extended by com.atlassian.jira.webtest.framework.impl.selenium.page.admin.plugins.SeleniumManagePluginComponent
All Implemented Interfaces:
Collapsible<ManagePluginComponent>, Localizable, PageObject, ManagePluginComponent, PluginComponent<ManagePluginComponent>

public class SeleniumManagePluginComponent
extends AbstractSeleniumPluginComponent<ManagePluginComponent>
implements ManagePluginComponent

TODO: Document this class / interface here

Since:
v4.3

Field Summary
 
Fields inherited from class com.atlassian.jira.webtest.framework.impl.selenium.page.admin.plugins.AbstractSeleniumPluginComponent
headerRowLocator, mainLocator, pluginKey, tabId
 
Fields inherited from class com.atlassian.jira.webtest.framework.impl.selenium.core.SeleniumContextAware
assertThat, client, context, timeouts
 
Constructor Summary
SeleniumManagePluginComponent(SeleniumContext context, String pluginKey)
           
 
Method Summary
 ManagePluginComponent disable()
          Disable the plugin.
 ManagePluginComponent enable()
          Enable the plugin.
 TimedCondition isDisabled()
          Check if the plugin is disabled.
 TimedCondition isEnabled()
          Check if the plugin is enabled.
 TimedCondition isModuleListCollapsed()
           
 TimedCondition isModuleListExpanded()
           
 PluginModulesList<ManagePluginModuleComponent> moduleList()
           
 ManagePluginComponent toggleExpandModulesList()
          Expands or Collapses the modules section of a manage plugin component
 
Methods inherited from class com.atlassian.jira.webtest.framework.impl.selenium.page.admin.plugins.AbstractSeleniumPluginComponent
collapse, detector, expand, getPluginKey, isCollapsed, isExpanded, locator
 
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.page.admin.plugins.PluginComponent
getPluginKey
 
Methods inherited from interface com.atlassian.jira.webtest.framework.core.Collapsible
collapse, expand, isCollapsed, isExpanded
 
Methods inherited from interface com.atlassian.jira.webtest.framework.core.Localizable
locator
 
Methods inherited from interface com.atlassian.jira.webtest.framework.core.PageObject
context, isReady
 

Constructor Detail

SeleniumManagePluginComponent

public SeleniumManagePluginComponent(SeleniumContext context,
                                     String pluginKey)
Method Detail

isEnabled

public TimedCondition isEnabled()
Description copied from interface: ManagePluginComponent
Check if the plugin is enabled.

Specified by:
isEnabled in interface ManagePluginComponent
Returns:
timed condition checking if the plugin is enabled

isDisabled

public TimedCondition isDisabled()
Description copied from interface: ManagePluginComponent
Check if the plugin is disabled.

Specified by:
isDisabled in interface ManagePluginComponent
Returns:
timed condition checking if the plugin is disabled

enable

public ManagePluginComponent enable()
Description copied from interface: ManagePluginComponent
Enable the plugin. This component has to be expanded to be able to perform this operation, as the 'Enable' button is only visible in the expanded mode.

Specified by:
enable in interface ManagePluginComponent
Returns:
this plugin component
See Also:
Collapsible.isExpanded(), Collapsible.expand()

disable

public ManagePluginComponent disable()
Description copied from interface: ManagePluginComponent
Disable the plugin. This component has to be expanded to be able to perform this operation, as the 'Disable' button is only visible in the expanded mode.

Specified by:
disable in interface ManagePluginComponent
Returns:
this plugin component
See Also:
Collapsible.isExpanded(), Collapsible.expand()

isModuleListExpanded

public TimedCondition isModuleListExpanded()
Specified by:
isModuleListExpanded in interface ManagePluginComponent

isModuleListCollapsed

public TimedCondition isModuleListCollapsed()
Specified by:
isModuleListCollapsed in interface ManagePluginComponent

toggleExpandModulesList

public ManagePluginComponent toggleExpandModulesList()
Description copied from interface: ManagePluginComponent
Expands or Collapses the modules section of a manage plugin component

Specified by:
toggleExpandModulesList in interface ManagePluginComponent

moduleList

public PluginModulesList<ManagePluginModuleComponent> moduleList()
Specified by:
moduleList in interface ManagePluginComponent


Copyright © 2002-2013 Atlassian. All Rights Reserved.