public class SetupDatabaseConnectionAction extends AbstractSetupAction implements org.apache.struts2.util.ServletContextAware, JsonStatusProvider
BambooActionSupport.JSONStatus
ACCESS_DENIED, administrationConfigurationAccessor, administrationConfigurationManager, administrationConfigurationPersister, AGGREGATE_URL_PATTERN, authenticationContext, bambooPermissionManager, bambooUserManager, BUILD_KEY_CONTEXT, buildDefinitionManager, cachedPlanManager, CONFIRM, cookieCutter, deploymentProjectService, featureManager, PAGE_NOT_FOUND, PLAN_KEY_CONTEXT, planExecutionManager, planManager, pluginAccessor, projectManager, webInterfaceManager
SETUP_CONTENT_BLANK, SETUP_CONTENT_DEMO, SETUP_CONTENT_IMPORT, SETUP_CUSTOM, SETUP_DB_CONN_TYPE, SETUP_DB_DATASOURCE, SETUP_DB_EMBEDDED, SETUP_DB_OTHER, SETUP_DB_STANDARD, SETUP_DB_TYPE_DATASOURCE, SETUP_DB_TYPE_EMBEDDED, SETUP_DB_TYPE_STANDARD, SETUP_QUICK
Constructor and Description |
---|
SetupDatabaseConnectionAction() |
Modifier and Type | Method and Description |
---|---|
String |
execute() |
String |
getConnectionChoice() |
List<com.atlassian.core.util.PairType> |
getConnectionTypes() |
boolean |
getDataOverwrite() |
String |
getDatasourceName() |
com.atlassian.config.db.DatabaseDetails |
getDbConfigInfo() |
com.opensymphony.webwork.dispatcher.json.JSONObject |
getJsonStatus() |
String |
getSelectedDatabase() |
String |
getWaitMessage() |
int |
getWaitStep() |
String |
input() |
void |
setConnectionChoice(String connectionChoice) |
void |
setDataOverwrite(boolean dataOverwrite) |
void |
setDatasourceName(String datasourceName) |
void |
setDbConfigInfo(com.atlassian.config.db.DatabaseDetails dbDetails) |
void |
setSelectedDatabase(String selectedDatabase) |
void |
setServletContext(javax.servlet.ServletContext context) |
getSetupPersister, getSetupTypeInstall, getSetupUtilityBean, setSetupPersister, setSetupTypeInstall
addActionError, addActionError, addActionWarning, addError, addError, addErrorCollection, addErrorMessage, addErrorMessage, addErrorMessages, addErrors, addFieldErrors, addHelpPanel, addIllegalArgumentException, areCheckBoxesEmpty, buildJsonObject, buildWebPanelContext, checkFieldXssSafety, createFieldValidator, doDefault, doesHelpLinkHaveMatchingTitle, doesLabelKeyHaveMatchingDescription, doExecute, doInput, forceRelativeReturnUrl, getActionWarnings, getAdministrationConfiguration, getAvailableCategoryJson, getBamboo, getBambooLicenseManager, getBambooPermissionManager, getBambooSession, getBambooUrl, getBambooUserManager, getBaseUrl, getBestBaseUrl, getBootstrapManager, getBreadCrumbs, getChainEquiv, getConcurrentBuildsEnabled, getConglomerateCookieValue, getCookieCutter, getCookieValue, getCurrentFormTheme, getCurrentSystemTime, getCurrentUrl, getDefaultPersister, getDescriptionFromLabelKey, getElasticConfig, getErrorMessages, getErrors, getFeatureManager, getFieldErrorAccessTracker, getFieldErrors, getFlushedErrorMessages, getFormattedActionErrors, getFormattedActionMessages, getFormattedActionWarnings, getHelpPanels, getInstanceName, getJobEquiv, getJsonObject, getNavigationContext, getNavigationUrl, getNumberOfCurrentlyBuildingPlans, getPlan, getPlanManager, getPluginAccessor, getReturnUrl, getSecuredDomainObject, getServerLifecycleState, getSessionUser, getText, getText, getText, getText, getText, getText, getText, getText, getText, getText, getText, getText, getTextProvider, getTexts, getTexts, getTextWithArgs, getTotalErrors, getUser, getValidatorContext, getWebFragmentsContextMap, getWebItemsForSection, getWebPanelContext, getWebSectionsForLocation, hasActionWarnings, hasAdminPermission, hasAnyErrors, hasBuilds, hasEntityPermission, hasGlobalAdminPermission, hasGlobalPermission, hasGlobalPermission, hasKey, hasPlanPermission, hasPlanPermission, hasRestrictedAdminPermission, isCheckboxSetInAction, isEc2ConfigurationWarningRequired, isEnableJavascript, isEnableSignup, isInlineDialog, isRestrictedAdminEnabled, isSelectFieldAndNull, isViewContactDetailsEnabled, renderFreemarkerTemplate, setAdministrationConfigurationAccessor, setAdministrationConfigurationManager, setAdministrationConfigurationPersister, setAuthenticationContext, setBambooLicenseManager, setBambooPermissionManager, setBambooUserManager, setBuildDefinitionManager, setCachedPlanManager, setChainEquiv, setCheckBoxFields, setCookieCutter, setCurrentFormTheme, setDecorator, setDeploymentProjectService, setDocumentationLinkProvider, setEnableJavascript, setErrorMessages, setFeatureManager, setI18nBeanFactory, setJobEquiv, setJsonator, setLocalizedTextProvider, setNavigationContext, setPlanExecutionManager, setPlanManager, setPluginAccessor, setProfile, setProjectManager, setReturnUrl, setServerLifecycleProvider, setWebInterfaceManager, streamJson, toJson, toJson
addActionMessage, addFieldError, clearActionErrors, clearErrors, clearErrorsAndMessages, clearFieldErrors, clearMessages, clone, getActionErrors, getActionMessages, getContainer, getFormatted, getLocale, getLocaleProvider, hasActionErrors, hasActionMessages, hasErrors, hasFieldErrors, isValidLocale, isValidLocaleString, pause, setActionErrors, setActionMessages, setContainer, setFieldErrors, validate
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getAllErrorMessages
public String input() throws Exception
input
in class com.opensymphony.xwork2.ActionSupport
Exception
public String execute()
execute
in interface com.opensymphony.xwork2.Action
execute
in class com.opensymphony.xwork2.ActionSupport
public List<com.atlassian.core.util.PairType> getConnectionTypes()
public String getSelectedDatabase()
public void setSelectedDatabase(String selectedDatabase)
public String getConnectionChoice()
public void setConnectionChoice(String connectionChoice)
public boolean getDataOverwrite()
public void setDataOverwrite(boolean dataOverwrite)
public String getDatasourceName()
public void setDatasourceName(String datasourceName)
public com.atlassian.config.db.DatabaseDetails getDbConfigInfo()
public void setDbConfigInfo(com.atlassian.config.db.DatabaseDetails dbDetails)
public void setServletContext(javax.servlet.ServletContext context)
setServletContext
in interface org.apache.struts2.util.ServletContextAware
public String getWaitMessage()
public int getWaitStep()
public com.opensymphony.webwork.dispatcher.json.JSONObject getJsonStatus() throws Exception
getJsonStatus
in interface JsonStatusProvider
Exception
Copyright © 2018 Atlassian Software Systems Pty Ltd. All rights reserved.