Class VariableConfigurationPage
java.lang.Object
com.atlassian.bamboo.pageobjects.pages.AbstractBambooPage
com.atlassian.bamboo.pageobjects.pages.plan.configuration.VariableConfigurationPage
- All Implemented Interfaces:
VariableEditorPage
,com.atlassian.pageobjects.Page
-
Field Summary
Fields inherited from class com.atlassian.bamboo.pageobjects.pages.AbstractBambooPage
driver, elementFinder, pageBinder, poller, testedProduct, timeouts
-
Constructor Summary
ConstructorDescriptionVariableConfigurationPage
(PlanKey planKey) VariableConfigurationPage
(PlanKey planKey, boolean isBranch) -
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
-
VariableConfigurationPage
-
VariableConfigurationPage
-
VariableConfigurationPage
-
-
Method Details
-
getUrl
- Specified by:
getUrl
in interfacecom.atlassian.pageobjects.Page
-
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
-
addVariable
- Specified by:
addVariable
in interfaceVariableEditorPage
-
editVariable
public VariableConfigurationPage 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
-
getPlanKey
-
canAddVariable
public boolean canAddVariable()- Specified by:
canAddVariable
in interfaceVariableEditorPage
-