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
-
Nested Class Summary
-
Field Summary
Fields inherited from class com.atlassian.bamboo.pageobjects.pages.AbstractBambooPage
driver, elementFinder, pageBinder, poller, testedProduct, timeouts
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionDisable concurrent builds, do nothing if not enabledenableConcurrentBuilds
(int defaultNumberOfConcurrentBuilds) void
Checks for presence ofAbstractBambooPage.indicator()
by default.getUrl()
com.atlassian.pageobjects.elements.PageElement
This must return an element whose presence indicates that we're on given page.boolean
protected com.atlassian.pageobjects.elements.query.TimedCondition
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
doWait, getStateBanner
Methods inherited from class com.atlassian.bamboo.pageobjects.pages.AbstractBambooPage
click, getFooter, getHeader, getTimeouts, isAdmin, isLoggedIn, sendEscapeKey, waitUntilElementIsLocated, waitUntilElementIsNotLocated, waitUntilElementIsNotVisible, waitUntilElementIsVisible
-
Constructor Details
-
ConcurrentBuildsPage
public ConcurrentBuildsPage()
-
-
Method Details
-
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
-
disableConcurrentBuilds
Disable concurrent builds, do nothing if not enabled -
isEnabled
public boolean isEnabled() -
enableConcurrentBuilds
-