Class SetupEmbeddedDatabaseAction

java.lang.Object
org.apache.struts2.ActionSupport
com.atlassian.bamboo.ww2.BambooActionSupport
com.atlassian.bamboo.ww2.actions.setup.AbstractSetupAction
com.atlassian.bamboo.ww2.actions.setup.SetupEmbeddedDatabaseAction
All Implemented Interfaces:
JsonStreamingAction, ErrorCollection, BambooSessionAware, JsonStatusProvider, NavigationAware, DomainObjectSecurityAware, GlobalReadSecurityAware, ReturnUrlAware, UserAware, com.atlassian.config.internal.SetupConstants, com.atlassian.core.i18n.I18nTextProvider, Serializable, org.apache.struts2.action.Action, org.apache.struts2.action.ServletContextAware, org.apache.struts2.interceptor.ValidationAware, org.apache.struts2.locale.LocaleProvider, org.apache.struts2.text.TextProvider, org.apache.struts2.Validateable

public class SetupEmbeddedDatabaseAction extends AbstractSetupAction implements org.apache.struts2.action.ServletContextAware, JsonStatusProvider
See Also:
  • Constructor Details

    • SetupEmbeddedDatabaseAction

      public SetupEmbeddedDatabaseAction()
  • Method Details

    • execute

      public String execute() throws Exception
      Specified by:
      execute in interface org.apache.struts2.action.Action
      Overrides:
      execute in class org.apache.struts2.ActionSupport
      Throws:
      Exception
    • setServletContext

      public void setServletContext(jakarta.servlet.ServletContext context)
    • withServletContext

      public void withServletContext(jakarta.servlet.ServletContext servletContext)
      Specified by:
      withServletContext in interface org.apache.struts2.action.ServletContextAware
    • getWaitMessage

      public String getWaitMessage()
    • getWaitStep

      public int getWaitStep()
    • getJsonStatus

      public org.json.JSONObject getJsonStatus() throws Exception
      Specified by:
      getJsonStatus in interface JsonStatusProvider
      Returns:
      JSONObject with status information required to update the UI.
      Throws:
      Exception