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

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<ManagePluginModuleComponent>
                  extended by com.atlassian.jira.webtest.framework.impl.selenium.page.admin.plugins.SeleniumManagePluginModuleComponent
All Implemented Interfaces:
Localizable, PageObject, ManagePluginModuleComponent, PluginModuleComponent<ManagePluginModuleComponent>

public class SeleniumManagePluginModuleComponent
extends AbstractSeleniumPluginModuleComponent<ManagePluginModuleComponent>
implements ManagePluginModuleComponent

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.AbstractSeleniumPluginModuleComponent
listLocator, mainLocator, moduleKey, pluginKey
 
Fields inherited from class com.atlassian.jira.webtest.framework.impl.selenium.core.SeleniumContextAware
assertThat, client, context, timeouts
 
Constructor Summary
SeleniumManagePluginModuleComponent(SeleniumContext context, Locator listLocator, String pluginKey, String moduleKey)
           
 
Method Summary
 TimedCondition canBeDisabled()
          Check if the plugin module can be disabled.
 TimedCondition cannotBeDisabled()
          Check if the plugin module cannot be disabled.
 ManagePluginModuleComponent disable()
          Disable the plugin module.
 ManagePluginModuleComponent enable()
          Enable the plugin module.
 TimedCondition isDisabled()
          Check if the plugin is disabled.
 TimedCondition isEnabled()
          Check if the plugin is enabled.
 
Methods inherited from class com.atlassian.jira.webtest.framework.impl.selenium.page.admin.plugins.AbstractSeleniumPluginModuleComponent
detector, getCompletePluginModuleKey, 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.PluginModuleComponent
getCompletePluginModuleKey
 
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

SeleniumManagePluginModuleComponent

public SeleniumManagePluginModuleComponent(SeleniumContext context,
                                           Locator listLocator,
                                           String pluginKey,
                                           String moduleKey)
Method Detail

isEnabled

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

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

isDisabled

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

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

canBeDisabled

public TimedCondition canBeDisabled()
Description copied from interface: ManagePluginModuleComponent
Check if the plugin module can be disabled.

Specified by:
canBeDisabled in interface ManagePluginModuleComponent
Returns:
timed condition checking if the plugin module can be disabled

cannotBeDisabled

public TimedCondition cannotBeDisabled()
Description copied from interface: ManagePluginModuleComponent
Check if the plugin module cannot be disabled.

Specified by:
cannotBeDisabled in interface ManagePluginModuleComponent
Returns:
timed condition checking if the plugin module cannot be disabled

enable

public ManagePluginModuleComponent enable()
Description copied from interface: ManagePluginModuleComponent
Enable the plugin module. The plugin's module list 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 ManagePluginModuleComponent
Returns:
this plugin module component
See Also:
#isExpanded(), #expand()

disable

public ManagePluginModuleComponent disable()
Description copied from interface: ManagePluginModuleComponent
Disable the plugin module. This plugin's module list 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 ManagePluginModuleComponent
Returns:
this plugin module component
See Also:
#isExpanded(), #expand()


Copyright © 2002-2013 Atlassian. All Rights Reserved.