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
-
-
Constructor Summary
Constructors Constructor Description VariableEditor(org.openqa.selenium.By locator)
VariableEditor(org.openqa.selenium.By locator, com.atlassian.pageobjects.elements.timeout.TimeoutType timeoutType)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addVariable(Consumer<InlineVariableEditComponent> consumer)
Hosting page should decide if it needs rebindingboolean
canAddVariable()
static Consumer<InlineVariableEditComponent>
editAndSave(String key, String value)
void
editVariable(String key, Consumer<InlineVariableEditComponent> consumer)
Hosting page should decide if it needs rebindingint
getVariablesCount()
String
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
-
-
-
-
Method Detail
-
addVariable
public void addVariable(Consumer<InlineVariableEditComponent> consumer)
Hosting page should decide if it needs rebinding
-
editVariable
public void editVariable(String key, Consumer<InlineVariableEditComponent> consumer)
Hosting page should decide if it needs rebinding
-
getVariablesCount
public int getVariablesCount()
-
editAndSave
public static Consumer<InlineVariableEditComponent> editAndSave(String key, String value)
-
canAddVariable
public boolean canAddVariable()
-
-