public class DefaultSetupPersister extends Object implements com.atlassian.config.setup.SetupPersister
Modifier and Type | Field and Description |
---|---|
static String |
SETUP_ADMIN |
static String |
SETUP_DATA |
static String |
SETUP_DB |
static String |
SETUP_DEFAULT_DATABASE |
static String |
SETUP_DEFAULT_GENERAL |
static String |
SETUP_FINISH |
static String |
SETUP_GENERAL |
static String |
SETUP_LICENSE_STEP |
Constructor and Description |
---|
DefaultSetupPersister() |
Modifier and Type | Method and Description |
---|---|
void |
finishSetup()
Ensures that the bootstrapManager is written to a complete state
by overriding all other remaining operations.
|
List<String> |
getCompletedSteps() |
String |
getCurrentStep() |
String |
getSetupType() |
List<String> |
getUncompletedSteps() |
boolean |
isDemonstrationContentInstalled() |
void |
progessSetupStep() |
void |
setApplicationConfig(com.atlassian.config.ApplicationConfiguration applicationConfig) |
void |
setDemonstrationContentInstalled() |
void |
setSetupType(String setupType) |
public static final String SETUP_LICENSE_STEP
public static final String SETUP_DB
public static final String SETUP_DATA
public static final String SETUP_GENERAL
public static final String SETUP_ADMIN
public static final String SETUP_FINISH
public static final String SETUP_DEFAULT_GENERAL
public static final String SETUP_DEFAULT_DATABASE
public List<String> getUncompletedSteps()
getUncompletedSteps
in interface com.atlassian.config.setup.SetupPersister
public List<String> getCompletedSteps()
getCompletedSteps
in interface com.atlassian.config.setup.SetupPersister
public String getSetupType()
getSetupType
in interface com.atlassian.config.setup.SetupPersister
public void setSetupType(String setupType)
setSetupType
in interface com.atlassian.config.setup.SetupPersister
public void finishSetup() throws com.atlassian.config.setup.SetupException
finishSetup
in interface com.atlassian.config.setup.SetupPersister
com.atlassian.config.setup.SetupException
public void progessSetupStep()
progessSetupStep
in interface com.atlassian.config.setup.SetupPersister
public String getCurrentStep()
getCurrentStep
in interface com.atlassian.config.setup.SetupPersister
public boolean isDemonstrationContentInstalled()
isDemonstrationContentInstalled
in interface com.atlassian.config.setup.SetupPersister
public void setDemonstrationContentInstalled()
setDemonstrationContentInstalled
in interface com.atlassian.config.setup.SetupPersister
public void setApplicationConfig(com.atlassian.config.ApplicationConfiguration applicationConfig)
Copyright © 2019 Atlassian Software Systems Pty Ltd. All rights reserved.