Class SetupWizard
- java.lang.Object
-
- com.atlassian.confluence.it.setup.SetupWizard
-
public class SetupWizard extends Object
The Confluence setup wizard. This is currently used for both the 3.4.x and current installers.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
SetupWizard.SetupType
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StartSetupPage
getFirstPage()
io.atlassian.fugue.Either<StartSetupPage,LicensePage>
getFirstPage(SetupWizard.SetupType setupType)
static SetupWizard
getInstance(net.sourceforge.jwebunit.junit.WebTester tester)
LoadContentPage
selectDatabaseType(ChooseDatabasePage chooseDatabasePage, DatabaseSetupType databaseSetupType)
LoadContentPage
setupDatabase(ChooseDatabasePage chooseDatabasePage)
Loads LoadContentPage using ChooseDatabasePage.LoadContentPage
setupDatabase(ChooseDatabasePage chooseDatabasePage, DatabaseSetupType databaseSetupType)
Loads LoadContentPage using ChooseDatabasePage and provided DatabaseSetupType.FinishedPage
setupSiteData(boolean dbMayAlreadyExist, InitialContent initialContent, LoadContentPage loadContentPage)
This is called in Custom Setup (See SetupAcceptanceTest#getSetupType()).static FinishedPage
setupUsers(UserManagementChoicePage userManagementChoicePage)
Set up users, either by linking to Jira (as a Crowd Server), either by entering a System Administrator
-
-
-
Method Detail
-
getInstance
public static SetupWizard getInstance(net.sourceforge.jwebunit.junit.WebTester tester)
-
getFirstPage
public StartSetupPage getFirstPage()
-
getFirstPage
public io.atlassian.fugue.Either<StartSetupPage,LicensePage> getFirstPage(SetupWizard.SetupType setupType)
-
selectDatabaseType
public LoadContentPage selectDatabaseType(ChooseDatabasePage chooseDatabasePage, DatabaseSetupType databaseSetupType)
-
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 ondatabaseSetupType
- 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
-
-