public class CrowdSetupPersister extends Object implements com.atlassian.config.setup.SetupPersister
Modifier and Type | Field and Description |
---|---|
static String |
SETUP_TYPE_NEW_INSTALL |
static String |
SETUP_TYPE_UPGRADE_XML |
Constructor and Description |
---|
CrowdSetupPersister() |
Modifier and Type | Method and Description |
---|---|
protected void |
configureSetupSequence(String setupType)
Creates a default bootstrapManager sequence based on current state of crowd.config.xml
|
void |
finishSetup()
Ensures that the bootstrapManager is written to a complete state
by overriding all other remaining operations.
|
List<PairType> |
getCompletedSteps() |
String |
getCurrentStep() |
String |
getSetupType() |
List<PairType> |
getUncompletedSteps() |
boolean |
isDemonstrationContentInstalled() |
boolean |
isSetupTypeNewInstall() |
boolean |
isSetupTypeXmlUpgrade() |
void |
progessSetupStep() |
void |
setApplicationConfig(CrowdApplicationConfig applicationConfig) |
void |
setClusteringEnabled(boolean value) |
void |
setDemonstrationContentInstalled() |
void |
setSetupType(String setupType) |
public static final String SETUP_TYPE_NEW_INSTALL
public static final String SETUP_TYPE_UPGRADE_XML
public void setApplicationConfig(CrowdApplicationConfig applicationConfig)
protected void configureSetupSequence(String setupType)
public List<PairType> getUncompletedSteps()
getUncompletedSteps
in interface com.atlassian.config.setup.SetupPersister
public List<PairType> 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 void setClusteringEnabled(boolean value)
public void setDemonstrationContentInstalled()
setDemonstrationContentInstalled
in interface com.atlassian.config.setup.SetupPersister
public boolean isDemonstrationContentInstalled()
isDemonstrationContentInstalled
in interface com.atlassian.config.setup.SetupPersister
public boolean isSetupTypeNewInstall()
public boolean isSetupTypeXmlUpgrade()
Copyright © 2020 Atlassian. All rights reserved.