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
-
Method Summary
Modifier and TypeMethodDescriptionaddVariable
(Consumer<InlineVariableEditComponent> consumer) boolean
editVariable
(String key, Consumer<InlineVariableEditComponent> consumer) getUrl()
int
getVariableValue
(String key) com.atlassian.pageobjects.elements.PageElement
This 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:AbstractBambooPage
This must return an element whose presence indicates that we're on given page.- Specified by:
indicator
in classAbstractBambooPage
- Returns:
- element uniquely identifying given page
-
getUrl
- Specified by:
getUrl
in interfacecom.atlassian.pageobjects.Page
-
addVariable
public ConfigureEnvironmentVariablesPage addVariable(Consumer<InlineVariableEditComponent> consumer) - Specified by:
addVariable
in interfaceVariableEditorPage
-
editVariable
public ConfigureEnvironmentVariablesPage editVariable(String key, Consumer<InlineVariableEditComponent> consumer) - Specified by:
editVariable
in interfaceVariableEditorPage
-
getVariableValue
- Specified by:
getVariableValue
in interfaceVariableEditorPage
-
getVariablesCount
public int getVariablesCount()- Specified by:
getVariablesCount
in interfaceVariableEditorPage
-
backToDeploymentProject
-
canAddVariable
public boolean canAddVariable()- Specified by:
canAddVariable
in interfaceVariableEditorPage
-