Class AbstractSetupAction
java.lang.Object
org.apache.struts2.ActionSupport
com.opensymphony.xwork2.ActionSupport
com.atlassian.confluence.core.AbstractI18nActionSupport
com.atlassian.confluence.core.ConfluenceActionSupport
com.atlassian.confluence.setup.actions.AbstractSetupAction
- 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
,org.apache.struts2.action.Action
,org.apache.struts2.interceptor.ValidationAware
,org.apache.struts2.Validateable
- Direct Known Subclasses:
AbstractConfluenceLicenseAction
,AbstractSetupDatabaseAction
,FinishSetupAction
,SelectGlobalLocaleAction
,SelectSetupStepAction
,SetupAdministrator
,SetupClusterAction
,SetupDataAction
,SetupDemoContentAction
,SetupPathsAction
,SetupStartAction
,SetupUserManagementChoiceAction
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:
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.opensymphony.xwork2.interceptor.ValidationAware
com.opensymphony.xwork2.interceptor.ValidationAware.LegacyAdapter
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected ConfluenceSidManager
protected static final String
protected static final String
protected static final String
protected static final String
protected static final String
protected static final String
protected static final String
protected static final String
protected static final String
protected static final String
protected static final String
protected static final String
protected static final String
Fields inherited from class com.atlassian.confluence.core.ConfluenceActionSupport
accessModeService, CANCEL, confluenceAccessManager, contentUiSupport, eventPublisher, formatSettingsManager, globalSettingsManager, i18NBeanFactory, labelManager, languageManager, LICENSE_EXPIRED, LICENSE_USERS_EXCEEDED, localeManager, loginManager, messageHolder, permissionManager, pluginAccessor, PREVIEW, request, response, spacePermissionManager, strutsHelper, systemInformationService, userAccessor, webInterfaceManager
Fields inherited from class org.apache.struts2.ActionSupport
container
Fields inherited from interface org.apache.struts2.action.Action
ERROR, INPUT, LOGIN, NONE, SUCCESS
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected BootstrapConfigurer
protected BootstrapManager
protected ConfluenceSetupPersister
The following methods are for collecting metadata used for installer analytics (CONFDEV-27425)com.atlassian.struts.xsrf.XsrfTokenGenerator
boolean
override the parent's implementation - everyone is allowed to perform a setup action.protected void
protected void
void
setBootstrapConfigurer
(BootstrapConfigurer bootstrapConfigurer) void
setBootstrapSidManager
(ConfluenceSidManager bootstrapSidManager) void
setLicenseService
(LicenseService licenseService) void
setXsrfTokenGenerator
(com.atlassian.struts.xsrf.XsrfTokenGenerator xsrfTokenGenerator) Methods inherited from class com.atlassian.confluence.core.ConfluenceActionSupport
addActionError, addActionMessage, addFieldError, addPermissionTypeTo, addToHistory, doDefault, getActionErrors, getActionMessages, getActionName, getAuthenticatedUser, getBootstrapStatusProvider, getCancelResult, getCurrentRequest, getCurrentResponse, getDateFormatter, getDefaultTimeZone, getFieldErrors, getGlobalSettings, getHelper, getI18n, getMessageHolder, getPermissionTypes, getPermittedEntitiesOf, getPermittedEntitiesOf, getPermittedEntitiesOf, getPreviousLoginDate, getTimeZone, getUserByName, getUserInterfaceState, getWebInterfaceContext, isAnonymousUser, isEmailVisible, setAccessModeService, setBootstrapStatusProvider, setCancel, setConfluenceAccessManager, setContentUiSupport, setEventPublisher, setFormatSettingsManager, setI18NBean, setI18NBeanFactory, setLabelManager, setLanguageManager, setLocaleManager, setLoginManager, setMessageHolder, setPermissionManager, setPluginAccessor, setPreviousLoginDate, setSettingsManager, setSkipIsPermitted, setSpacePermissionManager, setStrutsHelper, setSystemInformationService, setTimeZoneManager, setUserAccessor, setWebInterfaceManager, shouldSkipIsPermitted
Methods inherited from class com.atlassian.confluence.core.AbstractI18nActionSupport
getText, getText, getText, getText, getText, getText, getText, getText, getTextStrict
Methods inherited from class org.apache.struts2.ActionSupport
addActionError, addActionMessage, addFieldError, clearActionErrors, clearErrors, clearErrorsAndMessages, clearFieldErrors, clearMessages, clone, execute, getContainer, getFormatted, getLocaleProvider, getText, getText, getTextProvider, getTexts, getTexts, hasActionErrors, hasActionMessages, hasErrors, hasFieldErrors, hasKey, input, isValidLocale, isValidLocaleString, pause, setActionErrors, setActionMessages, setContainer, setFieldErrors, toLocale, validate
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.apache.struts2.action.Action
execute
Methods inherited from interface com.atlassian.confluence.validation.MessageHolderAware
validate
Methods inherited from interface org.apache.struts2.interceptor.ValidationAware
addActionError, addActionMessage, addFieldError, hasActionErrors, hasActionMessages, hasErrors, hasFieldErrors, setActionErrors, setActionMessages, setFieldErrors
-
Field Details
-
SETUP_QUICK
- See Also:
-
SETUP_CLUSTER
- See Also:
-
SETUP_CUSTOM
- See Also:
-
SETUP_USER_INTERNAL
- See Also:
-
SETUP_DB_DATASOURCE
- See Also:
-
SETUP_DB_CONN_TYPE
- See Also:
-
SETUP_DB_CLUSTER_CONN_TYPE
- See Also:
-
SETUP_CONTENT_BLANK
- See Also:
-
SETUP_CONTENT_DEMO
- See Also:
-
SETUP_CONTENT_IMPORT
- See Also:
-
SETUP_SESSION_ID_KEY
- See Also:
-
SETUP_SKIP_TO_NEXT_STEP
- See Also:
-
SETUP_SKIP_TO_NEXT_STEP_CLUSTER
- See Also:
-
bootstrapSidManager
-
-
Constructor Details
-
AbstractSetupAction
public AbstractSetupAction()
-
-
Method Details
-
getBootstrapManager
-
setBootstrapConfigurer
-
bootstrapConfigurer
-
getSetupPersister
-
isPermitted
public boolean isPermitted()override the parent's implementation - everyone is allowed to perform a setup action.- Overrides:
isPermitted
in classConfluenceActionSupport
- Returns:
- true always
-
getLocale
- Specified by:
getLocale
in interfacecom.opensymphony.xwork2.LocaleProvider
- Overrides:
getLocale
in classConfluenceActionSupport
-
performEarlyStartup
protected void performEarlyStartup()- Since:
- 8.6
-
performLateStartup
protected void performLateStartup()- Since:
- 8.6
-
getSetupSessionId
The following methods are for collecting metadata used for installer analytics (CONFDEV-27425) -
setBootstrapSidManager
-
getXsrfTokenGenerator
public com.atlassian.struts.xsrf.XsrfTokenGenerator getXsrfTokenGenerator() -
setXsrfTokenGenerator
public void setXsrfTokenGenerator(com.atlassian.struts.xsrf.XsrfTokenGenerator xsrfTokenGenerator) -
getServerId
-
setLicenseService
-
getSupportEntitlementNumber
-
getCurrentSetupStep
-