Class AbstractDockerPage<T extends AbstractDockerPage<T>>
- java.lang.Object
-
- com.atlassian.bamboo.pageobjects.pages.AbstractBambooPage
-
- com.atlassian.bamboo.pageobjects.pages.docker.AbstractDockerPage<T>
-
- Type Parameters:
T
- actual class of the page
- All Implemented Interfaces:
com.atlassian.pageobjects.Page
- Direct Known Subclasses:
ConfigureEnvironmentDockerPage
,ConfigureJobDockerPage
public abstract class AbstractDockerPage<T extends AbstractDockerPage<T>> extends AbstractBambooPage
-
-
Field Summary
Fields Modifier and Type Field Description protected TextElement
additionalArgs
protected com.atlassian.pageobjects.elements.PageElement
cancelLink
protected com.atlassian.pageobjects.elements.PageElement
saveButton
-
Fields inherited from class com.atlassian.bamboo.pageobjects.pages.AbstractBambooPage
driver, elementFinder, pageBinder, poller, testedProduct, timeouts
-
-
Constructor Summary
Constructors Constructor Description AbstractDockerPage()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
canEdit()
String
getDockerImage()
List<String>
getErrorMessages()
com.atlassian.pageobjects.elements.PageElement
indicator()
This must return an element whose presence indicates that we're on given page.boolean
isDockerEnabled()
T
withAdditionalArgs(String... arguments)
T
withDockerEnabled(boolean enabled)
T
withDockerImage(String dockerImage)
T
withDockerVolumeMapping(Consumer<DockerVolumeMappingTable> consumer)
-
Methods inherited from class com.atlassian.bamboo.pageobjects.pages.AbstractBambooPage
click, doWait, ensureIndicatorPresent, getFooter, getHeader, getTimeouts, isAdmin, isLoggedIn, isPageLoaded, sendEscapeKey, waitUntilElementIsLocated, waitUntilElementIsNotLocated, waitUntilElementIsNotVisible, waitUntilElementIsVisible
-
-
-
-
Field Detail
-
saveButton
protected com.atlassian.pageobjects.elements.PageElement saveButton
-
cancelLink
protected com.atlassian.pageobjects.elements.PageElement cancelLink
-
additionalArgs
protected TextElement additionalArgs
-
-
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
-
withDockerEnabled
public T withDockerEnabled(boolean enabled)
-
isDockerEnabled
public boolean isDockerEnabled()
-
getDockerImage
public String getDockerImage()
-
withDockerVolumeMapping
public T withDockerVolumeMapping(Consumer<DockerVolumeMappingTable> consumer)
-
canEdit
public boolean canEdit()
-
-