public class

AbstractSetupAction

extends ConfluenceActionSupport
java.lang.Object
   ↳ com.opensymphony.xwork.ActionSupport
     ↳ com.atlassian.confluence.core.ConfluenceActionSupport
       ↳ com.atlassian.confluence.setup.actions.AbstractSetupAction
Known Direct Subclasses
Known Indirect Subclasses

Class Overview

This action communicates with BootstrapManager. BootstrapManager remembers state persistence for the setup cycle.

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

Summary

Constants
String DEMO_CONTENT_ZIP_FILE
String SETUP_CLUSTER
String SETUP_CONTENT_BLANK
String SETUP_CONTENT_DEMO
String SETUP_CONTENT_IMPORT
String SETUP_CUSTOM
String SETUP_DB_CONN_TYPE
String SETUP_DB_DATASOURCE
String SETUP_DB_EMBEDDED
String SETUP_DB_OTHER
String SETUP_DB_STANDARD
String SETUP_DB_TYPE_DATASOURCE
String SETUP_DB_TYPE_EMBEDDED
String SETUP_DB_TYPE_STANDARD
String SETUP_QUICK
String SETUP_USER_INTERNAL
String SETUP_USER_JAACS
[Expand]
Inherited Constants
From class com.atlassian.confluence.core.ConfluenceActionSupport
From interface com.opensymphony.xwork.Action
[Expand]
Inherited Fields
From class com.atlassian.confluence.core.ConfluenceActionSupport
From class com.opensymphony.xwork.ActionSupport
Public Constructors
AbstractSetupAction()
Public Methods
BootstrapManager getBootstrapManager()
Locale getLocale()
SetupPersister getSetupPersister()
boolean isPermitted()
override the parent's implementation - everyone is allowed to perform a setup action.
void setSetupPersister(SetupPersister setupPersister)
[Expand]
Inherited Methods
From class com.atlassian.confluence.core.ConfluenceActionSupport
From class com.opensymphony.xwork.ActionSupport
From class java.lang.Object
From interface com.atlassian.confluence.plugin.descriptor.web.WebInterface
From interface com.opensymphony.xwork.Action
From interface com.opensymphony.xwork.LocaleProvider
From interface com.opensymphony.xwork.TextProvider
From interface com.opensymphony.xwork.Validateable
From interface com.opensymphony.xwork.ValidationAware

Constants

public static final String DEMO_CONTENT_ZIP_FILE

Constant Value: "demo-site.zip"

protected static final String SETUP_CLUSTER

Constant Value: "cluster-setup"

protected static final String SETUP_CONTENT_BLANK

Constant Value: "blank"

protected static final String SETUP_CONTENT_DEMO

Constant Value: "demo"

protected static final String SETUP_CONTENT_IMPORT

Constant Value: "import"

protected static final String SETUP_CUSTOM

Constant Value: "custom-setup"

protected static final String SETUP_DB_CONN_TYPE

Constant Value: "setupdb"

protected static final String SETUP_DB_DATASOURCE

Constant Value: "input-datasource-db"

protected static final String SETUP_DB_EMBEDDED

Constant Value: "input-embedded-db"

protected static final String SETUP_DB_OTHER

Constant Value: "input-other-db"

protected static final String SETUP_DB_STANDARD

Constant Value: "input-standard-db"

protected static final String SETUP_DB_TYPE_DATASOURCE

Constant Value: "database-type-datasource"

protected static final String SETUP_DB_TYPE_EMBEDDED

Constant Value: "database-type-embedded"

protected static final String SETUP_DB_TYPE_STANDARD

Constant Value: "database-type-standard"

protected static final String SETUP_QUICK

Constant Value: "quick-setup"

protected static final String SETUP_USER_INTERNAL

Constant Value: "internal-user"

protected static final String SETUP_USER_JAACS

Constant Value: "jaacs-user"

Public Constructors

public AbstractSetupAction ()

Public Methods

public BootstrapManager getBootstrapManager ()

public Locale getLocale ()

public SetupPersister getSetupPersister ()

public boolean isPermitted ()

override the parent's implementation - everyone is allowed to perform a setup action.

Returns
  • true always

public void setSetupPersister (SetupPersister setupPersister)