public class

DefaultSetupPersister

extends Object
implements SetupPersister
java.lang.Object
   ↳ com.atlassian.confluence.setup.DefaultSetupPersister

Summary

Constants
String SETUP_TYPE_CLUSTER
[Expand]
Inherited Constants
From interface com.atlassian.config.setup.SetupPersister
Public Constructors
DefaultSetupPersister()
Public Methods
void finishSetup()
Ensures that the bootstrapManager is written to a complete state by overriding all other remaining operations.
List<PairType> getCompletedSteps()
String getCurrentDisplayStep()
Gets the key of the current step for displaying in setup step bar UI.
String getCurrentStep()
Gets the key of the actual current step.
String getSetupType()
List<PairType> getUncompletedSteps()
boolean isDemonstrationContentInstalled()
void progessSetupStep()
void setApplicationConfig(ApplicationConfiguration applicationConfig)
void setDemonstrationContentInstalled()
void setSetupType(String setupType)
Protected Methods
void configureSetupSequence(String setupType)
Creates a default bootstrapManager sequence based on current state of confluence.config.xml
[Expand]
Inherited Methods
From class java.lang.Object
From interface com.atlassian.config.setup.SetupPersister

Constants

public static final String SETUP_TYPE_CLUSTER

Constant Value: "cluster"

Public Constructors

public DefaultSetupPersister ()

Public Methods

public void finishSetup ()

Ensures that the bootstrapManager is written to a complete state by overriding all other remaining operations.

Throws
SetupException

public List<PairType> getCompletedSteps ()

public String getCurrentDisplayStep ()

Gets the key of the current step for displaying in setup step bar UI. This can be different from the actual step, for example, when the actual step is invisible and we want the setup step bar UI to still display the previous step.

Returns
  • key of the current step for displaying purpose, null if the setup is done and there is no meaningful current step

public String getCurrentStep ()

Gets the key of the actual current step.

Returns
  • key of the actual current step

public String getSetupType ()

Returns
  • the bootstrapManager type of the bootstrapManager process - initial, custom or install.

public List<PairType> getUncompletedSteps ()

public boolean isDemonstrationContentInstalled ()

public void progessSetupStep ()

public void setApplicationConfig (ApplicationConfiguration applicationConfig)

public void setDemonstrationContentInstalled ()

public void setSetupType (String setupType)

Protected Methods

protected void configureSetupSequence (String setupType)

Creates a default bootstrapManager sequence based on current state of confluence.config.xml