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
Fields 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
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
configureSetupSequence
(String setupType) Creates a default bootstrapManager sequence based on current state of crowd.config.xmlvoid
Ensures that the bootstrapManager is written to a complete state by overriding all other remaining operations.boolean
boolean
boolean
void
void
setApplicationConfig
(CrowdApplicationConfig applicationConfig) void
setClusteringEnabled
(boolean value) void
void
setForgedLicenseDetector
(ForgedLicenseDetector forgedLicenseDetector) void
setSetupType
(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:
getUncompletedSteps
in interfacecom.atlassian.config.setup.SetupPersister
-
getCompletedSteps
- Specified by:
getCompletedSteps
in interfacecom.atlassian.config.setup.SetupPersister
-
getSetupType
- Specified by:
getSetupType
in interfacecom.atlassian.config.setup.SetupPersister
- Returns:
- the bootstrapManager type of the bootstrapManager process - initial, custom or install.
-
setSetupType
- Specified by:
setSetupType
in 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:
finishSetup
in interfacecom.atlassian.config.setup.SetupPersister
- Throws:
com.atlassian.config.setup.SetupException
-
progessSetupStep
public void progessSetupStep()- Specified by:
progessSetupStep
in interfacecom.atlassian.config.setup.SetupPersister
-
getCurrentStep
- Specified by:
getCurrentStep
in interfacecom.atlassian.config.setup.SetupPersister
-
setClusteringEnabled
public void setClusteringEnabled(boolean value) -
setDemonstrationContentInstalled
public void setDemonstrationContentInstalled()- Specified by:
setDemonstrationContentInstalled
in interfacecom.atlassian.config.setup.SetupPersister
-
isDemonstrationContentInstalled
public boolean isDemonstrationContentInstalled()- Specified by:
isDemonstrationContentInstalled
in interfacecom.atlassian.config.setup.SetupPersister
-
isSetupTypeNewInstall
public boolean isSetupTypeNewInstall() -
isSetupTypeXmlUpgrade
public boolean isSetupTypeXmlUpgrade()
-