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 classConcurrentBuildsPage.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 ConcurrentBuildsPagedisableConcurrentBuilds()Disable concurrent builds, do nothing if not enabledConcurrentBuildsPageenableConcurrentBuilds(int defaultNumberOfConcurrentBuilds)voidensureIndicatorPresent()Checks for presence ofAbstractBambooPage.indicator()by default.StringgetUrl()com.atlassian.pageobjects.elements.PageElementindicator()This must return an element whose presence indicates that we're on given page.booleanisEnabled()protected com.atlassian.pageobjects.elements.query.TimedConditionisPageLoaded()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: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
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)
-
-