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
Nested Classes -
Field Summary
Fields inherited from class com.atlassian.bamboo.pageobjects.pages.AbstractBambooPage
driver, elementFinder, pageBinder, poller, testedProduct, timeouts -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionDisable concurrent builds, do nothing if not enabledenableConcurrentBuilds(int defaultNumberOfConcurrentBuilds) voidChecks for presence ofAbstractBambooPage.indicator()by default.getUrl()com.atlassian.pageobjects.elements.PageElementThis must return an element whose presence indicates that we're on given page.booleanprotected com.atlassian.pageobjects.elements.query.TimedConditionThis 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, getStateBannerMethods 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:AbstractBambooPageThis must return an element whose presence indicates that we're on given page.- Specified by:
indicatorin classAbstractBambooPage- Returns:
- element uniquely identifying given page
-
ensureIndicatorPresent
public void ensureIndicatorPresent()Description copied from class:AbstractBambooPageChecks for presence of
AbstractBambooPage.indicator()by default.If different wait functionality is required, just override this method.
- Overrides:
ensureIndicatorPresentin classAbstractBambooPage
-
isPageLoaded
protected com.atlassian.pageobjects.elements.query.TimedCondition isPageLoaded()Description copied from class:AbstractBambooPageThis indicates that the page has loaded and the presence of indicator may be verified.- Overrides:
isPageLoadedin 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
-