Class VariableEditor
java.lang.Object
com.atlassian.pageobjects.elements.WebDriverElement
com.atlassian.bamboo.pageobjects.components.variables.VariableEditor
- All Implemented Interfaces:
com.atlassian.pageobjects.elements.PageElement
,com.atlassian.pageobjects.elements.PageElementFinder
,com.atlassian.pageobjects.elements.search.PageElementSearch
public class VariableEditor
extends com.atlassian.pageobjects.elements.WebDriverElement
-
Field Summary
Fields inherited from class com.atlassian.pageobjects.elements.WebDriverElement
defaultTimeout, driver, locatable, pageBinder, timeouts, TO_LOCATABLE
-
Constructor Summary
ConstructorDescriptionVariableEditor
(org.openqa.selenium.By locator) VariableEditor
(org.openqa.selenium.By locator, com.atlassian.pageobjects.elements.timeout.TimeoutType timeoutType) -
Method Summary
Modifier and TypeMethodDescriptionvoid
addVariable
(Consumer<InlineVariableEditComponent> consumer) Hosting page should decide if it needs rebindingboolean
static Consumer<InlineVariableEditComponent>
editAndSave
(String key, String value) void
editVariable
(String key, Consumer<InlineVariableEditComponent> consumer) Hosting page should decide if it needs rebindingint
getVariableValue
(String key) Methods inherited from class com.atlassian.pageobjects.elements.WebDriverElement
asWebElement, bind, clear, click, createTimout, find, find, find, find, findAll, findAll, findAll, findAll, getAttribute, getCssClasses, getDefaultTimeout, getId, getLocation, getSize, getTagName, getText, getValue, hasAttribute, hasClass, isEnabled, isPresent, isSelected, isVisible, javascript, search, select, timed, timeout, toLocatable, toString, type, waitForWebElement, waitForWebElement, withTimeout
-
Constructor Details
-
VariableEditor
public VariableEditor(org.openqa.selenium.By locator) -
VariableEditor
public VariableEditor(org.openqa.selenium.By locator, com.atlassian.pageobjects.elements.timeout.TimeoutType timeoutType)
-
-
Method Details
-
addVariable
Hosting page should decide if it needs rebinding -
editVariable
Hosting page should decide if it needs rebinding -
getVariableValue
-
getVariablesCount
public int getVariablesCount() -
editAndSave
-
canAddVariable
public boolean canAddVariable()
-