com.atlassian.confluence.setup
Class DefaultSetupPersister
java.lang.Object
com.atlassian.confluence.setup.DefaultSetupPersister
- All Implemented Interfaces:
- SetupPersister
public class DefaultSetupPersister
- extends Object
- implements SetupPersister
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SETUP_TYPE_CLUSTER
public static final String SETUP_TYPE_CLUSTER
- See Also:
- Constant Field Values
DefaultSetupPersister
public DefaultSetupPersister()
setApplicationConfig
public void setApplicationConfig(ApplicationConfiguration applicationConfig)
configureSetupSequence
protected void configureSetupSequence(String setupType)
- Creates a default bootstrapManager sequence based on current state of confluence.config.xml
getUncompletedSteps
public List getUncompletedSteps()
- Specified by:
getUncompletedSteps
in interface SetupPersister
getCompletedSteps
public List getCompletedSteps()
- Specified by:
getCompletedSteps
in interface SetupPersister
getSetupType
public String getSetupType()
- Specified by:
getSetupType
in interface SetupPersister
- Returns:
- the bootstrapManager type of the bootstrapManager process - initial, custom or install.
setSetupType
public void setSetupType(String setupType)
- Specified by:
setSetupType
in interface SetupPersister
finishSetup
public void finishSetup()
throws SetupException
- Ensures that the bootstrapManager is written to a complete state
by overriding all other remaining operations.
- Specified by:
finishSetup
in interface SetupPersister
- Throws:
SetupException
progessSetupStep
public void progessSetupStep()
- Specified by:
progessSetupStep
in interface SetupPersister
getCurrentStep
public String getCurrentStep()
- Specified by:
getCurrentStep
in interface SetupPersister
setDemonstrationContentInstalled
public void setDemonstrationContentInstalled()
- Specified by:
setDemonstrationContentInstalled
in interface SetupPersister
isDemonstrationContentInstalled
public boolean isDemonstrationContentInstalled()
- Specified by:
isDemonstrationContentInstalled
in interface SetupPersister