Class SetupWizard


  • public class SetupWizard
    extends Object
    The Confluence setup wizard. This is currently used for both the 3.4.x and current installers.
    • Method Detail

      • getInstance

        public static SetupWizard getInstance​(net.sourceforge.jwebunit.junit.WebTester tester)
      • setupDatabase

        public LoadContentPage setupDatabase​(ChooseDatabasePage chooseDatabasePage)
        Loads LoadContentPage using ChooseDatabasePage. Will Use the DatabaseTypeFactory to get database settings.
        Parameters:
        chooseDatabasePage - ChooseDatabasePage the page we are on.
        Returns:
        LoadContentPage
      • setupDatabase

        public LoadContentPage setupDatabase​(ChooseDatabasePage chooseDatabasePage,
                                             DatabaseSetupType databaseSetupType)
        Loads LoadContentPage using ChooseDatabasePage and provided DatabaseSetupType.
        Parameters:
        chooseDatabasePage - ChooseDatabasePage the page we are on
        databaseSetupType - DatabaseSetupType hold the data what database to setup
        Returns:
        LoadContentPage
      • setupSiteData

        public FinishedPage setupSiteData​(boolean dbMayAlreadyExist,
                                          InitialContent initialContent,
                                          LoadContentPage loadContentPage)
        This is called in Custom Setup (See SetupAcceptanceTest#getSetupType()). Puts the data into the database.
      • setupUsers

        public static FinishedPage setupUsers​(UserManagementChoicePage userManagementChoicePage)
        Set up users, either by linking to Jira (as a Crowd Server), either by entering a System Administrator
        Parameters:
        userManagementChoicePage - The PageObject of the setup wizard