Class ConcurrentBuildsPage
- java.lang.Object
-
- com.atlassian.bamboo.pageobjects.pages.AbstractBambooPage
-
- com.atlassian.bamboo.pageobjects.pages.admin.AbstractBambooAdminPage
-
- com.atlassian.bamboo.pageobjects.pages.admin.ConcurrentBuildsPage
-
- All Implemented Interfaces:
com.atlassian.pageobjects.Page
public class ConcurrentBuildsPage extends AbstractBambooAdminPage
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ConcurrentBuildsPage.EditMode
-
Field Summary
-
Fields inherited from class com.atlassian.bamboo.pageobjects.pages.AbstractBambooPage
driver, elementFinder, pageBinder, poller, testedProduct, timeouts
-
-
Constructor Summary
Constructors Constructor Description ConcurrentBuildsPage()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ConcurrentBuildsPage
disableConcurrentBuilds()
Disable concurrent builds, do nothing if not enabledConcurrentBuildsPage
enableConcurrentBuilds(int defaultNumberOfConcurrentBuilds)
void
ensureIndicatorPresent()
Checks for presence ofAbstractBambooPage.indicator()
by default.String
getUrl()
com.atlassian.pageobjects.elements.PageElement
indicator()
This must return an element whose presence indicates that we're on given page.boolean
isEnabled()
protected com.atlassian.pageobjects.elements.query.TimedCondition
isPageLoaded()
This indicates that the page has loaded and the presence of indicator may be verified.-
Methods inherited from class com.atlassian.bamboo.pageobjects.pages.admin.AbstractBambooAdminPage
getStateBanner
-
Methods inherited from class com.atlassian.bamboo.pageobjects.pages.AbstractBambooPage
click, doWait, getFooter, getHeader, getTimeouts, isAdmin, isLoggedIn, sendEscapeKey, waitUntilElementIsLocated, waitUntilElementIsNotLocated, waitUntilElementIsNotVisible, waitUntilElementIsVisible
-
-
-
-
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
-
ensureIndicatorPresent
public void ensureIndicatorPresent()
Description copied from class:AbstractBambooPage
Checks for presence of
AbstractBambooPage.indicator()
by default.If different wait functionality is required, just override this method.
- Overrides:
ensureIndicatorPresent
in classAbstractBambooPage
-
isPageLoaded
protected com.atlassian.pageobjects.elements.query.TimedCondition isPageLoaded()
Description copied from class:AbstractBambooPage
This indicates that the page has loaded and the presence of indicator may be verified.- Overrides:
isPageLoaded
in classAbstractBambooPage
- Returns:
- time condition indication that the page has loaded
-
getUrl
public String getUrl()
-
disableConcurrentBuilds
public ConcurrentBuildsPage disableConcurrentBuilds()
Disable concurrent builds, do nothing if not enabled
-
isEnabled
public boolean isEnabled()
-
enableConcurrentBuilds
public ConcurrentBuildsPage enableConcurrentBuilds(int defaultNumberOfConcurrentBuilds)
-
-