Class AbstractSetupAction
java.lang.Object
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
- Direct Known Subclasses:
AbstractConfluenceLicenseAction
,AbstractSetupDatabaseAction
,ConnectToJiraAction
,ConnectToJiraSyncDirectoryAction
,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:
-
Field Summary
Modifier 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
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, spacePermissionManager, systemInformationService, userAccessor, webInterfaceManager
Fields inherited from class com.opensymphony.xwork2.ActionSupport
container
Fields inherited from interface com.opensymphony.xwork2.Action
ERROR, INPUT, LOGIN, NONE, SUCCESS
-
Constructor Summary
-
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.xwork.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.xwork.XsrfTokenGenerator xsrfTokenGenerator) Methods inherited from class com.atlassian.confluence.core.ConfluenceActionSupport
addActionError, addActionMessage, addFieldError, addPermissionTypeTo, addToHistory, doDefault, getActionErrors, getActionMessages, getActionName, getAuthenticatedUser, getBootstrapStatusProvider, getCancelResult, getCurrentRequest, 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, 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 com.opensymphony.xwork2.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 com.opensymphony.xwork2.LocaleProvider
isValidLocale, isValidLocaleString, toLocale
Methods inherited from interface com.atlassian.confluence.validation.MessageHolderAware
validate
-
Field Details
-
SETUP_QUICK
- See Also:
-
SETUP_CLUSTER
- See Also:
-
SETUP_CUSTOM
- See Also:
-
SETUP_USER_INTERNAL
- See Also:
-
SETUP_USER_JAACS
- 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.xwork.XsrfTokenGenerator getXsrfTokenGenerator() -
setXsrfTokenGenerator
public void setXsrfTokenGenerator(com.atlassian.xwork.XsrfTokenGenerator xsrfTokenGenerator) -
getServerId
-
setLicenseService
-
getSupportEntitlementNumber
-
getCurrentSetupStep
-