Class AbstractSetupAction

java.lang.Object
com.opensymphony.xwork2.ActionSupport
All Implemented Interfaces:
WebInterface, MessageHolderAware, com.opensymphony.xwork2.Action, com.opensymphony.xwork2.interceptor.ValidationAware, com.opensymphony.xwork2.LocaleProvider, com.opensymphony.xwork2.TextProvider, com.opensymphony.xwork2.Validateable, Serializable
Direct Known Subclasses:
AbstractConfluenceLicenseAction, AbstractSetupDatabaseAction, ConnectToJiraAction, ConnectToJiraSyncDirectoryAction, FinishSetupAction, SelectGlobalLocaleAction, SelectSetupStepAction, SetupAdministrator, SetupClusterAction, SetupDataAction, SetupDemoContentAction, SetupPathsAction, SetupStartAction, SetupUserManagementChoiceAction

public abstract class AbstractSetupAction extends ConfluenceActionSupport
This action communicates with BootstrapManager. BootstrapManager remembers state persistence for the setup cycle.

All control for setup sequences is, funnily enough, seated in struts.xml (the Controller).

See Also:
  • Field Details

  • Constructor Details

    • AbstractSetupAction

      public AbstractSetupAction()
  • Method Details

    • getBootstrapManager

      protected BootstrapManager getBootstrapManager()
    • setBootstrapConfigurer

      public void setBootstrapConfigurer(BootstrapConfigurer bootstrapConfigurer)
    • bootstrapConfigurer

      protected BootstrapConfigurer bootstrapConfigurer()
    • getSetupPersister

      protected ConfluenceSetupPersister getSetupPersister()
    • isPermitted

      public boolean isPermitted()
      override the parent's implementation - everyone is allowed to perform a setup action.
      Overrides:
      isPermitted in class ConfluenceActionSupport
      Returns:
      true always
    • getLocale

      public Locale getLocale()
      Specified by:
      getLocale in interface com.opensymphony.xwork2.LocaleProvider
      Overrides:
      getLocale in class ConfluenceActionSupport
    • performEarlyStartup

      protected void performEarlyStartup()
      Since:
      8.6
    • performLateStartup

      protected void performLateStartup()
      Since:
      8.6
    • getSetupSessionId

      public String getSetupSessionId()
      The following methods are for collecting metadata used for installer analytics (CONFDEV-27425)
    • setBootstrapSidManager

      public void setBootstrapSidManager(ConfluenceSidManager bootstrapSidManager)
    • getXsrfTokenGenerator

      public com.atlassian.xwork.XsrfTokenGenerator getXsrfTokenGenerator()
    • setXsrfTokenGenerator

      public void setXsrfTokenGenerator(com.atlassian.xwork.XsrfTokenGenerator xsrfTokenGenerator)
    • getServerId

      public String getServerId()
    • setLicenseService

      public void setLicenseService(LicenseService licenseService)
    • getSupportEntitlementNumber

      public String getSupportEntitlementNumber()
    • getCurrentSetupStep

      public String getCurrentSetupStep()