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 Details

  • Constructor Details

    • CrowdSetupPersister

      public CrowdSetupPersister()
  • Method Details

    • setForgedLicenseDetector

      public void setForgedLicenseDetector(ForgedLicenseDetector forgedLicenseDetector)
    • setApplicationConfig

      public void setApplicationConfig(CrowdApplicationConfig applicationConfig)
    • configureSetupSequence

      protected void configureSetupSequence(String setupType)
      Creates a default bootstrapManager sequence based on current state of crowd.config.xml
    • getUncompletedSteps

      public List<PairType> getUncompletedSteps()
      Specified by:
      getUncompletedSteps in interface com.atlassian.config.setup.SetupPersister
    • getCompletedSteps

      public List<PairType> getCompletedSteps()
      Specified by:
      getCompletedSteps in interface com.atlassian.config.setup.SetupPersister
    • getSetupType

      public String getSetupType()
      Specified by:
      getSetupType in interface com.atlassian.config.setup.SetupPersister
      Returns:
      the bootstrapManager type of the bootstrapManager process - initial, custom or install.
    • setSetupType

      public void setSetupType(String setupType)
      Specified by:
      setSetupType in interface com.atlassian.config.setup.SetupPersister
    • finishSetup

      public void finishSetup() throws com.atlassian.config.setup.SetupException
      Ensures that the bootstrapManager is written to a complete state by overriding all other remaining operations.
      Specified by:
      finishSetup in interface com.atlassian.config.setup.SetupPersister
      Throws:
      com.atlassian.config.setup.SetupException
    • progessSetupStep

      public void progessSetupStep()
      Specified by:
      progessSetupStep in interface com.atlassian.config.setup.SetupPersister
    • getCurrentStep

      public String getCurrentStep()
      Specified by:
      getCurrentStep in interface com.atlassian.config.setup.SetupPersister
    • setClusteringEnabled

      public void setClusteringEnabled(boolean value)
    • setDemonstrationContentInstalled

      public void setDemonstrationContentInstalled()
      Specified by:
      setDemonstrationContentInstalled in interface com.atlassian.config.setup.SetupPersister
    • isDemonstrationContentInstalled

      public boolean isDemonstrationContentInstalled()
      Specified by:
      isDemonstrationContentInstalled in interface com.atlassian.config.setup.SetupPersister
    • isSetupTypeNewInstall

      public boolean isSetupTypeNewInstall()
    • isSetupTypeXmlUpgrade

      public boolean isSetupTypeXmlUpgrade()