Class SetupHelper


  • public class SetupHelper
    extends Object
    • Constructor Detail

      • SetupHelper

        public SetupHelper()
    • Method Detail

      • setupBambooEmbedded

        public void setupBambooEmbedded()
      • 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 here SetupBambooInitialDataPage for success path or SetupDatabaseValidationErrorPage for DB validation failure or SetupDatabaseConnectionPage for DB settings validation errors
        Parameters:
        clazz - page which should be binded when entered DB settings
        dbProperties - db settings
        onlyPassword - 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 here SetupBambooInitialDataPage for success path or SetupDatabaseValidationErrorPage for DB validation failure or SetupDatabaseConnectionPage for DB settings validation errors
        Parameters:
        clazz - page which should be binded when entered DB settings
        dbProperties - db settings
        Returns:
        bound page after providing DB settings
      • gotoSetupDatabasePageWhenDbSetupNotFinished

        public SetupDatabasePage gotoSetupDatabasePageWhenDbSetupNotFinished()