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.SetupPersisterpublic List<PairType> getCompletedSteps()
getCompletedSteps in interface com.atlassian.config.setup.SetupPersisterpublic String getSetupType()
getSetupType in interface com.atlassian.config.setup.SetupPersisterpublic void setSetupType(String setupType)
setSetupType in interface com.atlassian.config.setup.SetupPersisterpublic void finishSetup()
throws com.atlassian.config.setup.SetupException
finishSetup in interface com.atlassian.config.setup.SetupPersistercom.atlassian.config.setup.SetupExceptionpublic void progessSetupStep()
progessSetupStep in interface com.atlassian.config.setup.SetupPersisterpublic String getCurrentStep()
getCurrentStep in interface com.atlassian.config.setup.SetupPersisterpublic void setClusteringEnabled(boolean value)
public void setDemonstrationContentInstalled()
setDemonstrationContentInstalled in interface com.atlassian.config.setup.SetupPersisterpublic boolean isDemonstrationContentInstalled()
isDemonstrationContentInstalled in interface com.atlassian.config.setup.SetupPersisterpublic boolean isSetupTypeNewInstall()
public boolean isSetupTypeXmlUpgrade()
Copyright © 2018 Atlassian. All rights reserved.