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 ConfluenceSidManagerprotected static final Stringprotected static final Stringprotected static final Stringprotected static final Stringprotected static final Stringprotected static final Stringprotected static final Stringprotected static final Stringprotected static final Stringprotected static final Stringprotected static final Stringprotected static final Stringprotected static final StringFields 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, webInterfaceManagerFields inherited from class org.apache.struts2.ActionSupport
containerFields inherited from interface org.apache.struts2.action.Action
ERROR, INPUT, LOGIN, NONE, SUCCESS -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected BootstrapConfigurerprotected BootstrapManagerprotected ConfluenceSetupPersisterThe following methods are for collecting metadata used for installer analytics (CONFDEV-27425)com.atlassian.struts.xsrf.XsrfTokenGeneratorbooleanoverride the parent's implementation - everyone is allowed to perform a setup action.protected voidprotected voidvoidsetBootstrapConfigurer(BootstrapConfigurer bootstrapConfigurer) voidsetBootstrapSidManager(ConfluenceSidManager bootstrapSidManager) voidsetLicenseService(LicenseService licenseService) voidsetXsrfTokenGenerator(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, shouldSkipIsPermittedMethods inherited from class com.atlassian.confluence.core.AbstractI18nActionSupport
getText, getText, getText, getText, getText, getText, getText, getText, getTextStrictMethods 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, validateMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.struts2.action.Action
executeMethods inherited from interface com.atlassian.confluence.validation.MessageHolderAware
validateMethods 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:
isPermittedin classConfluenceActionSupport- Returns:
- true always
-
getLocale
- Specified by:
getLocalein interfacecom.opensymphony.xwork2.LocaleProvider- Overrides:
getLocalein 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
-