Class ConfigureEnvironmentVariablesPage
java.lang.Object
com.atlassian.bamboo.pageobjects.pages.AbstractBambooPage
com.atlassian.bamboo.pageobjects.pages.deployment.environments.ConfigureEnvironmentVariablesPage
- All Implemented Interfaces:
VariableEditorPage,com.atlassian.pageobjects.Page
public class ConfigureEnvironmentVariablesPage
extends AbstractBambooPage
implements VariableEditorPage
-
Field Summary
Fields inherited from class com.atlassian.bamboo.pageobjects.pages.AbstractBambooPage
driver, elementFinder, pageBinder, poller, testedProduct, timeouts -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddVariable(Consumer<InlineVariableEditComponent> consumer) booleaneditVariable(String key, Consumer<InlineVariableEditComponent> consumer) getUrl()intgetVariableValue(String key) com.atlassian.pageobjects.elements.PageElementThis must return an element whose presence indicates that we're on given page.Methods inherited from class com.atlassian.bamboo.pageobjects.pages.AbstractBambooPage
click, doWait, ensureIndicatorPresent, getFooter, getHeader, getTimeouts, isAdmin, isLoggedIn, isPageLoaded, sendEscapeKey, waitUntilElementIsLocated, waitUntilElementIsNotLocated, waitUntilElementIsNotVisible, waitUntilElementIsVisible
-
Constructor Details
-
ConfigureEnvironmentVariablesPage
-
-
Method Details
-
indicator
public com.atlassian.pageobjects.elements.PageElement indicator()Description copied from class:AbstractBambooPageThis must return an element whose presence indicates that we're on given page.- Specified by:
indicatorin classAbstractBambooPage- Returns:
- element uniquely identifying given page
-
getUrl
- Specified by:
getUrlin interfacecom.atlassian.pageobjects.Page
-
addVariable
public ConfigureEnvironmentVariablesPage addVariable(Consumer<InlineVariableEditComponent> consumer) - Specified by:
addVariablein interfaceVariableEditorPage
-
editVariable
public ConfigureEnvironmentVariablesPage editVariable(String key, Consumer<InlineVariableEditComponent> consumer) - Specified by:
editVariablein interfaceVariableEditorPage
-
getVariableValue
- Specified by:
getVariableValuein interfaceVariableEditorPage
-
getVariablesCount
public int getVariablesCount()- Specified by:
getVariablesCountin interfaceVariableEditorPage
-
backToDeploymentProject
-
canAddVariable
public boolean canAddVariable()- Specified by:
canAddVariablein interfaceVariableEditorPage
-