Class SetupHelper
- java.lang.Object
-
- com.atlassian.bamboo.pageobjects.helpers.SetupHelper
-
public class SetupHelper extends Object
-
-
Constructor Summary
Constructors Constructor Description SetupHelper()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SetupDatabasePage
gotoSetupDatabasePageWhenDbSetupNotFinished()
<T> T
setupBambooCustom(@NotNull Class<T> clazz, @NotNull DbProperties dbProperties)
Custom path of Bamboo setup - use external DB<T> T
setupBambooCustom(@NotNull Class<T> clazz, @NotNull DbProperties dbProperties, boolean onlyPassword)
Custom path of Bamboo setup - use external DBvoid
setupBambooEmbedded()
BambooDashboardPage
setupUpgradeBamboo(@NotNull File importFile)
BambooDashboardPage
setupUpgradeBamboo(@NotNull Path importFile, @NotNull Duration timeout)
-
-
-
Method Detail
-
setupBambooEmbedded
public void setupBambooEmbedded()
-
setupUpgradeBamboo
public BambooDashboardPage setupUpgradeBamboo(@NotNull @NotNull File importFile) throws Exception
- Throws:
Exception
-
setupUpgradeBamboo
public BambooDashboardPage setupUpgradeBamboo(@NotNull @NotNull Path importFile, @NotNull @NotNull Duration timeout)
-
setupBambooCustom
public <T> T setupBambooCustom(@NotNull @NotNull Class<T> clazz, @NotNull @NotNull DbProperties dbProperties, boolean onlyPassword)
Custom path of Bamboo setup - use external DB- Type Parameters:
T
- instance of page object should be binded to screen on submit button press. Pass hereSetupBambooInitialDataPage
for success path orSetupDatabaseValidationErrorPage
for DB validation failure orSetupDatabaseConnectionPage
for DB settings validation errors- Parameters:
clazz
- page which should be binded when entered DB settingsdbProperties
- db settingsonlyPassword
- use only password from dbProperties - use when fields are prefilled- Returns:
- bound page after providing DB settings
-
setupBambooCustom
public <T> T setupBambooCustom(@NotNull @NotNull Class<T> clazz, @NotNull @NotNull DbProperties dbProperties)
Custom path of Bamboo setup - use external DB- Type Parameters:
T
- instance of page object should be binded to screen on submit button press. Pass hereSetupBambooInitialDataPage
for success path orSetupDatabaseValidationErrorPage
for DB validation failure orSetupDatabaseConnectionPage
for DB settings validation errors- Parameters:
clazz
- page which should be binded when entered DB settingsdbProperties
- db settings- Returns:
- bound page after providing DB settings
-
gotoSetupDatabasePageWhenDbSetupNotFinished
public SetupDatabasePage gotoSetupDatabasePageWhenDbSetupNotFinished()
-
-