Class CrowdSetupPersister
java.lang.Object
com.atlassian.crowd.console.setup.CrowdSetupPersister
- All Implemented Interfaces:
com.atlassian.config.setup.SetupPersister
public class CrowdSetupPersister
extends Object
implements com.atlassian.config.setup.SetupPersister
-
Field Summary
FieldsFields inherited from interface com.atlassian.config.setup.SetupPersister
SETUP_INSTALL_DEMO_DATA, SETUP_STATE_COMPLETE, SETUP_TYPE_CUSTOM, SETUP_TYPE_INITIAL, SETUP_TYPE_INSTALL -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidconfigureSetupSequence(String setupType) Creates a default bootstrapManager sequence based on current state of crowd.config.xmlvoidEnsures that the bootstrapManager is written to a complete state by overriding all other remaining operations.booleanbooleanbooleanvoidvoidsetApplicationConfig(CrowdApplicationConfig applicationConfig) voidsetClusteringEnabled(boolean value) voidvoidsetForgedLicenseDetector(ForgedLicenseDetector forgedLicenseDetector) voidsetSetupType(String setupType)
-
Field Details
-
SETUP_TYPE_NEW_INSTALL
- See Also:
-
SETUP_TYPE_UPGRADE_XML
- See Also:
-
-
Constructor Details
-
CrowdSetupPersister
public CrowdSetupPersister()
-
-
Method Details
-
setForgedLicenseDetector
-
setApplicationConfig
-
configureSetupSequence
Creates a default bootstrapManager sequence based on current state of crowd.config.xml -
getUncompletedSteps
- Specified by:
getUncompletedStepsin interfacecom.atlassian.config.setup.SetupPersister
-
getCompletedSteps
- Specified by:
getCompletedStepsin interfacecom.atlassian.config.setup.SetupPersister
-
getSetupType
- Specified by:
getSetupTypein interfacecom.atlassian.config.setup.SetupPersister- Returns:
- the bootstrapManager type of the bootstrapManager process - initial, custom or install.
-
setSetupType
- Specified by:
setSetupTypein interfacecom.atlassian.config.setup.SetupPersister
-
finishSetup
public void finishSetup() throws com.atlassian.config.setup.SetupExceptionEnsures that the bootstrapManager is written to a complete state by overriding all other remaining operations.- Specified by:
finishSetupin interfacecom.atlassian.config.setup.SetupPersister- Throws:
com.atlassian.config.setup.SetupException
-
progessSetupStep
public void progessSetupStep()- Specified by:
progessSetupStepin interfacecom.atlassian.config.setup.SetupPersister
-
getCurrentStep
- Specified by:
getCurrentStepin interfacecom.atlassian.config.setup.SetupPersister
-
setClusteringEnabled
public void setClusteringEnabled(boolean value) -
setDemonstrationContentInstalled
public void setDemonstrationContentInstalled()- Specified by:
setDemonstrationContentInstalledin interfacecom.atlassian.config.setup.SetupPersister
-
isDemonstrationContentInstalled
public boolean isDemonstrationContentInstalled()- Specified by:
isDemonstrationContentInstalledin interfacecom.atlassian.config.setup.SetupPersister
-
isSetupTypeNewInstall
public boolean isSetupTypeNewInstall() -
isSetupTypeXmlUpgrade
public boolean isSetupTypeXmlUpgrade()
-