Class SetupStartAction
- java.lang.Object
-
- com.opensymphony.xwork2.ActionSupport
-
- com.atlassian.confluence.core.ConfluenceActionSupport
-
- com.atlassian.confluence.setup.actions.AbstractSetupAction
-
- com.atlassian.confluence.setup.actions.SetupStartAction
-
- All Implemented Interfaces:
BootstrapAware
,WebInterface
,MessageHolderAware
,com.opensymphony.xwork2.Action
,com.opensymphony.xwork2.interceptor.ValidationAware
,com.opensymphony.xwork2.LocaleProvider
,com.opensymphony.xwork2.TextProvider
,com.opensymphony.xwork2.Validateable
,Serializable
public class SetupStartAction extends AbstractSetupAction implements BootstrapAware
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static String
CLUSTER_DOWNGRADE
static String
CLUSTER_UPGRADE
-
Fields inherited from class com.atlassian.confluence.setup.actions.AbstractSetupAction
DEMO_CONTENT_ZIP_FILE, SETUP_CLUSTER, SETUP_CLUSTER_TO_STANDALONE, SETUP_CONTENT_BLANK, SETUP_CONTENT_DEMO, SETUP_CONTENT_IMPORT, SETUP_CUSTOM, SETUP_DB_CLUSTER_CONN_TYPE, SETUP_DB_CONN_TYPE, SETUP_DB_DATASOURCE, SETUP_DB_EMBEDDED, SETUP_DB_STANDARD, SETUP_DB_TYPE_DATASOURCE, SETUP_DB_TYPE_STANDARD, SETUP_PATHS, SETUP_QUICK, SETUP_SESSION_ID_KEY, SETUP_SKIP_TO_NEXT_STEP, SETUP_SKIP_TO_NEXT_STEP_CLUSTER, SETUP_USER_INTERNAL, SETUP_USER_JAACS
-
Fields inherited from class com.atlassian.confluence.core.ConfluenceActionSupport
accessModeService, CANCEL, DEVMODE, eventManager, i18NBeanFactory, labelManager, languageManager, LICENSE_EXPIRED, LICENSE_USERS_EXCEEDED, messageHolder, permissionManager, permitted, personService, pluginAccessor, PREVIEW, settingsManager, spacePermissionManager, systemInformationService, userAccessor, webInterfaceManager
-
-
Constructor Summary
Constructors Constructor Description SetupStartAction()
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description void
bootstrap()
String
doDefault()
Convenient Action execution method which defaults to returning INPUTString
embeddedDatabaseName()
String
execute()
ClusterManager
getClusterManager()
Deprecated.since 5.9.1boolean
isAWSSetup()
boolean
isBuildNumberCorrect()
boolean
isClusteredEdition()
Deprecated.since 5.9.1.boolean
isClusterToStandalone()
boolean
isDatabaseExternal()
boolean
isFromScratch()
boolean
isStandaloneToCluster()
void
setApplicationProperties(com.atlassian.sal.api.ApplicationProperties applicationProperties)
void
setBootstrapSidManager(ConfluenceSidManager bootstrapSidManager)
There's no ConfluenceSidManager in the setup context, but in its parent, the bootstrap context.void
setClusterManager(ClusterManager clusterManager)
Deprecated.since 5.9.1void
setConfluenceHome(com.atlassian.dc.filestore.api.compat.FilesystemPath confluenceHome)
void
setSetupApplicationProperties(com.atlassian.sal.api.ApplicationProperties setupApplicationProperties)
void
setSetupType(String setupType)
-
Methods inherited from class com.atlassian.confluence.setup.actions.AbstractSetupAction
bootstrapConfigurer, getBootstrapManager, getContainerManager, getLocale, getServerId, getSetupPersister, getSetupSessionId, getSingletonFromMainContext, getSupportEntitlementNumber, getXsrfToken, getXsrfTokenGenerator, isPermitted, performEarlyStartup, performLateStartup, retrieveSingletonFromMainContext, setBootstrapConfigurer, setContainerManager, setLicenseService, setSetupPersister, setXsrfTokenGenerator, transitionFromColdToTenantedState, transitionFromColdToVacantState, transitionFromVacantToTenantedState
-
Methods inherited from class com.atlassian.confluence.core.ConfluenceActionSupport
addActionError, addActionMessage, addFieldError, addPermissionTypeTo, addToHistory, formatFriendlyDate, getAccessMode, getActionName, getActionName, getAuthenticatedUser, getBootstrapStatusProvider, getCancel, getCancelResult, getConfluenceAccessManager, getContentUiSupport, getContext, getCurrentRequest, getCurrentSession, getDateFormatSetting, getDateFormatter, getDefaultResourceBundle, getDefaultTimeZone, getDocBean, getDocLink, getEventManager, getFriendlyDateFormatter, getFrontendServiceURL, getGlobalSettings, getHelper, getI18n, getInstalledLanguages, getLabelManager, getLanguageJs, getLanguageManager, getLanguageUserFriendly, getLocaleManager, getLocaleString, getMessageHolder, getNiceContentType, getPermissionManager, getPermissionTypes, getPermittedEntitiesOf, getPermittedEntitiesOf, getPermittedEntitiesOf, getPersonService, getPreviousLoginDate, getRemoteUser, getSession, getSystemInformationService, getText, getText, getText, getText, getText, getText, getText, getText, getTextStatic, getTextStatic, getTextStrict, getTimeZone, getUserAccessor, getUserByName, getUserFullName, getUserHasBrowseUsersPermission, getUserHasLicensedAccess, getUserInterfaceState, getUserLocaleDefaultDatePattern, getUserProfilePicUrl, getWebInterfaceContext, getWebInterfaceManager, hasPermissionForSpace, isAnonymousUser, isCanceled, isDevMode, isEmailVisible, isExternalUserManagementEnabled, isLabelable, isPrintableVersion, isSkipAccessCheck, isUserStatusPluginEnabled, isUsingH2, isUsingHSQL, setAccessModeService, setApiDateFormatService, setApiPersonService, setBootstrapManager, setBootstrapStatusProvider, setCancel, setConfluenceAccessManager, setContentUiSupport, setEventManager, setFormatSettingsManager, setI18NBean, setI18NBeanFactory, setLabelManager, setLanguageManager, setLocaleManager, setLoginManager, setMessageHolder, setPermissionManager, setPluginAccessor, setPreviousLoginDate, setServletRequestSupplier, setSettingsManager, setSpacePermissionManager, setSystemInformationService, setTimeZoneManager, setUserAccessor, setWebInterfaceManager, useSkipAccessCheck, withServletRequestSupplier
-
Methods inherited from class com.opensymphony.xwork2.ActionSupport
addActionError, addActionMessage, addFieldError, clearActionErrors, clearErrors, clearErrorsAndMessages, clearFieldErrors, clearMessages, clone, getActionErrors, getActionMessages, getContainer, getFieldErrors, getFormatted, getLocaleProvider, getText, getText, getTextProvider, getTexts, getTexts, hasActionErrors, hasActionMessages, hasErrors, hasFieldErrors, hasKey, input, isValidLocale, isValidLocaleString, pause, setActionErrors, setActionMessages, setContainer, setFieldErrors, 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
-
Methods inherited from interface com.atlassian.confluence.validation.MessageHolderAware
validate
-
-
-
-
Field Detail
-
CLUSTER_UPGRADE
public static final String CLUSTER_UPGRADE
- See Also:
- Constant Field Values
-
CLUSTER_DOWNGRADE
public static final String CLUSTER_DOWNGRADE
- See Also:
- Constant Field Values
-
-
Method Detail
-
doDefault
public String doDefault() throws Exception
Description copied from class:ConfluenceActionSupport
Convenient Action execution method which defaults to returning INPUT- Overrides:
doDefault
in classConfluenceActionSupport
- Throws:
Exception
-
execute
public String execute() throws Exception
- Specified by:
execute
in interfacecom.opensymphony.xwork2.Action
- Overrides:
execute
in classcom.opensymphony.xwork2.ActionSupport
- Throws:
Exception
-
setBootstrapSidManager
public void setBootstrapSidManager(ConfluenceSidManager bootstrapSidManager) throws com.atlassian.config.ConfigurationException
There's no ConfluenceSidManager in the setup context, but in its parent, the bootstrap context.ConfluenceAutowireInterceptor
only wires by name, thus they have to match.- Overrides:
setBootstrapSidManager
in classAbstractSetupAction
- Throws:
com.atlassian.config.ConfigurationException
-
bootstrap
public void bootstrap()
- Specified by:
bootstrap
in interfaceBootstrapAware
-
getClusterManager
@Deprecated public ClusterManager getClusterManager()
Deprecated.since 5.9.1
-
setClusterManager
@Deprecated public void setClusterManager(ClusterManager clusterManager)
Deprecated.since 5.9.1
-
isClusteredEdition
@Deprecated public boolean isClusteredEdition()
Deprecated.since 5.9.1. Clustering is always supported.
-
isAWSSetup
public boolean isAWSSetup()
-
isStandaloneToCluster
public boolean isStandaloneToCluster()
-
isClusterToStandalone
public boolean isClusterToStandalone()
-
isFromScratch
public boolean isFromScratch()
-
isDatabaseExternal
public boolean isDatabaseExternal()
-
embeddedDatabaseName
public String embeddedDatabaseName()
-
isBuildNumberCorrect
public boolean isBuildNumberCorrect()
-
setSetupType
public void setSetupType(String setupType)
-
setConfluenceHome
public void setConfluenceHome(com.atlassian.dc.filestore.api.compat.FilesystemPath confluenceHome)
-
setSetupApplicationProperties
public void setSetupApplicationProperties(com.atlassian.sal.api.ApplicationProperties setupApplicationProperties)
-
setApplicationProperties
public void setApplicationProperties(com.atlassian.sal.api.ApplicationProperties applicationProperties)
-
-