Class SetupDatabaseConnectionPage
- java.lang.Object
-
- com.atlassian.bamboo.pageobjects.pages.AbstractBambooPage
-
- com.atlassian.bamboo.pageobjects.pages.setup.AbstractBambooSetupPage
-
- com.atlassian.bamboo.pageobjects.pages.setup.SetupDatabaseConnectionPage
-
- All Implemented Interfaces:
com.atlassian.pageobjects.Page
public class SetupDatabaseConnectionPage extends AbstractBambooSetupPage
-
-
Field Summary
-
Fields inherited from class com.atlassian.bamboo.pageobjects.pages.AbstractBambooPage
driver, elementFinder, pageBinder, poller, testedProduct, timeouts
-
-
Constructor Summary
Constructors Constructor Description SetupDatabaseConnectionPage()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description @NotNull List<String>
getValidationErrors()
com.atlassian.pageobjects.elements.PageElement
indicator()
This must return an element whose presence indicates that we're on given page.<T> T
submit(Class<T> pageToBind)
SetupDatabaseConnectionPage
withDatabaseUrl(@NotNull String databaseUrl)
SetupDatabaseConnectionPage
withDriverClassName(@NotNull String driverClassName)
SetupDatabaseConnectionPage
withPassword(@NotNull String password)
SetupDatabaseConnectionPage
withUsername(@NotNull String username)
-
Methods inherited from class com.atlassian.bamboo.pageobjects.pages.setup.AbstractBambooSetupPage
getUrl, submitAndWaitForBind, submitAndWaitForBind, waitForSetupCompleted
-
Methods inherited from class com.atlassian.bamboo.pageobjects.pages.AbstractBambooPage
click, doWait, ensureIndicatorPresent, getFooter, getHeader, getTimeouts, isAdmin, isLoggedIn, isPageLoaded, 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
-
withDriverClassName
public SetupDatabaseConnectionPage withDriverClassName(@NotNull @NotNull String driverClassName)
-
withDatabaseUrl
public SetupDatabaseConnectionPage withDatabaseUrl(@NotNull @NotNull String databaseUrl)
-
withUsername
public SetupDatabaseConnectionPage withUsername(@NotNull @NotNull String username)
-
withPassword
public SetupDatabaseConnectionPage withPassword(@NotNull @NotNull String password)
-
submit
@NotNull public <T> T submit(Class<T> pageToBind)
-
-