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 Constructor Description ConfigureEnvironmentVariablesPage(String environmentId)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ConfigureEnvironmentVariablesPageaddVariable(Consumer<InlineVariableEditComponent> consumer)ConfigureDeploymentProjectPagebackToDeploymentProject()booleancanAddVariable()ConfigureEnvironmentVariablesPageeditVariable(String key, Consumer<InlineVariableEditComponent> consumer)StringgetUrl()intgetVariablesCount()StringgetVariableValue(String key)com.atlassian.pageobjects.elements.PageElementindicator()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 Detail
-
ConfigureEnvironmentVariablesPage
public ConfigureEnvironmentVariablesPage(String environmentId)
-
-
Method Detail
-
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
public String 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
public String getVariableValue(String key)
- Specified by:
getVariableValuein interfaceVariableEditorPage
-
getVariablesCount
public int getVariablesCount()
- Specified by:
getVariablesCountin interfaceVariableEditorPage
-
backToDeploymentProject
public ConfigureDeploymentProjectPage backToDeploymentProject()
-
canAddVariable
public boolean canAddVariable()
- Specified by:
canAddVariablein interfaceVariableEditorPage
-
-