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 ConfigureEnvironmentVariablesPage
addVariable(Consumer<InlineVariableEditComponent> consumer)
ConfigureDeploymentProjectPage
backToDeploymentProject()
boolean
canAddVariable()
ConfigureEnvironmentVariablesPage
editVariable(String key, Consumer<InlineVariableEditComponent> consumer)
String
getUrl()
int
getVariablesCount()
String
getVariableValue(String key)
com.atlassian.pageobjects.elements.PageElement
indicator()
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: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
public String 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
public String getVariableValue(String key)
- Specified by:
getVariableValue
in interfaceVariableEditorPage
-
getVariablesCount
public int getVariablesCount()
- Specified by:
getVariablesCount
in interfaceVariableEditorPage
-
backToDeploymentProject
public ConfigureDeploymentProjectPage backToDeploymentProject()
-
canAddVariable
public boolean canAddVariable()
- Specified by:
canAddVariable
in interfaceVariableEditorPage
-
-