public class SetupStartAction extends AbstractSetupAction implements BootstrapAware
Modifier and Type | Field and Description |
---|---|
static String |
CLUSTER_DOWNGRADE |
static String |
CLUSTER_UPGRADE |
bundlePluginService, DEMO_CONTENT_ZIP_FILE, SELECT_BUNDLE, SETUP_BUNDLE_PLUGINS_CREDENTIAL, 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_HAS_SELECTED_BUNDLE_PLUGINS, SETUP_PATHS, SETUP_QUICK, SETUP_SESSION_ID_KEY, SETUP_SKIP_TO_NEXT_STEP, SETUP_USER_INTERNAL, SETUP_USER_JAACS
CANCEL, DEVMODE, eventManager, i18NBeanFactory, labelManager, languageManager, LICENSE_EXPIRED, LICENSE_USERS_EXCEEDED, messageHolder, permissionManager, permitted, pluginAccessor, PREVIEW, settingsManager, spacePermissionManager, userAccessor, webInterfaceManager
Constructor and Description |
---|
SetupStartAction() |
Modifier and Type | Method and Description |
---|---|
void |
bootstrap() |
String |
doDefault()
Default webwork action execution method.
|
String |
embeddedDatabaseName() |
String |
execute() |
ClusterManager |
getClusterManager()
Deprecated.
since 5.9.1
|
boolean |
isAWSSetup() |
boolean |
isBuildNumberCorrect() |
boolean |
isClusteredEdition()
Deprecated.
since 5.9.1. Clustering is always supported.
|
boolean |
isClusterToStandalone() |
boolean |
isDatabaseExternal() |
boolean |
isFromScratch() |
boolean |
isStandaloneToCluster() |
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.1
|
void |
setSetupType(String setupType) |
getBootstrapManager, getBundledPlugins, getContainerManager, getLocale, getServerId, getSetupPersister, getSetupSessionId, getSingletonFromMainContext, getSupportEntitlementNumber, isPermitted, saveAuthenticationInfo, setBundlePluginService, setContainerManager, setLicenseService, setSetupPersister, transitionFromColdToTenantedState, transitionFromColdToVacantState, transitionFromVacantToTenantedState
addActionError, addActionMessage, addFieldError, addPermissionTypeTo, addToHistory, formatFriendlyDate, getActionName, getActionName, getAuthenticatedUser, getCancel, getCancelResult, getConfluenceAccessManager, getContext, getCurrentRequest, getCurrentSession, getDateFormatSetting, getDateFormatter, getDefaultResourceBundle, getDefaultTimeZone, getDocLink, getEventManager, getFriendlyDateFormatter, getFrontendServiceURL, getGlobalSettings, getHelper, getI18n, getInstalledLanguages, getLabelManager, getLanguageManager, getLanguageUserFriendly, getLocaleManager, getLocaleString, getMessageHolder, getNiceContentType, getPermissionManager, getPermissionTypes, getPermittedEntitiesOf, getPermittedEntitiesOf, getPermittedEntitiesOf, getPreviousLoginDate, getRemoteUser, getSession, getSystemInformationService, getText, getText, getText, getText, getTextStatic, getTextStatic, getTextStrict, getTimeZone, getUser, getUserAccessor, getUserByName, getUserFullName, getUserHasLicensedAccess, getUserInterfaceState, getUserLocaleDefaultDatePattern, getUserProfilePicUrl, getWebInterfaceContext, getWebInterfaceManager, hasPermissionForSpace, isAnonymousUser, isCanceled, isDevMode, isEmailVisible, isExternalUserManagementEnabled, isLabelable, isPrintableVersion, isSharedMode, isSkipAccessCheck, isUserStatusPluginEnabled, isUsingH2, isUsingHSQL, setApiDateFormatService, setBootstrapManager, setCancel, setConfluenceAccessManager, setContentUiSupport, setEventManager, setFormatSettingsManager, setI18NBean, setI18NBeanFactory, setLabelManager, setLanguageManager, setLocaleManager, setLoginManager, setMessageHolder, setPermissionManager, setPluginAccessor, setPreviousLoginDate, setServletRequestSupplier, setSettingsManager, setSkipAccessCheck, setSpacePermissionManager, setSystemInformationService, setTimeZoneManager, setUserAccessor, setWebInterfaceManager
addActionError, addActionMessage, addFieldError, getActionErrors, getActionMessages, getErrorMessages, getErrors, getFieldErrors, getText, getTexts, getTexts, hasActionErrors, hasActionMessages, hasErrors, hasFieldErrors, setActionErrors, setActionMessages, setFieldErrors, validate
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
validate
public static final String CLUSTER_UPGRADE
public static final String CLUSTER_DOWNGRADE
public String doDefault() throws Exception
ConfluenceActionSupport
doDefault
in class ConfluenceActionSupport
Exception
- if something goes wrongpublic String execute() throws Exception
execute
in interface com.opensymphony.xwork.Action
execute
in class com.opensymphony.xwork.ActionSupport
Exception
public void setBootstrapSidManager(ConfluenceSidManager bootstrapSidManager) throws com.atlassian.config.ConfigurationException
ConfluenceAutowireInterceptor
only wires by name, thus they have to match.setBootstrapSidManager
in class AbstractSetupAction
com.atlassian.config.ConfigurationException
public void bootstrap()
bootstrap
in interface BootstrapAware
@Deprecated public ClusterManager getClusterManager()
@Deprecated public void setClusterManager(ClusterManager clusterManager)
@Deprecated public boolean isClusteredEdition()
public boolean isAWSSetup()
public boolean isStandaloneToCluster()
public boolean isClusterToStandalone()
public boolean isFromScratch()
public boolean isDatabaseExternal()
public String embeddedDatabaseName()
public boolean isBuildNumberCorrect()
public void setSetupType(String setupType)
Copyright © 2003–2017 Atlassian. All rights reserved.