public class SetupGeneralConfiguration extends AbstractSetupAction implements org.apache.struts2.interceptor.ServletRequestAware
BambooActionSupport.JSONStatus
Modifier and Type | Field and Description |
---|---|
static String |
BUILD_WORKING_DIR |
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 |
---|
SetupGeneralConfiguration() |
Modifier and Type | Method and Description |
---|---|
String |
execute() |
String |
getArtifactsDir() |
BambooLicenseManager |
getBambooLicenseManager() |
String |
getBaseUrl() |
String |
getBrokerUrl() |
String |
getBuildDir() |
String |
getBuildWorkingDir() |
String |
getConfigDir() |
String |
getInstanceName() |
String |
getRepositoryLogsDir() |
String |
getVersion() |
String |
input()
Initialise the wizard's default values
|
boolean |
isLessAttended() |
boolean |
isRemoteAllowed() |
void |
setArtifactsDir(String artifactsDir) |
void |
setBaseUrl(String url) |
void |
setBrokerUrl(String brokerURI) |
void |
setBuildDir(String buildDir) |
void |
setBuildWorkingDir(String buildWorkingDir) |
void |
setConfigDir(String configDir) |
void |
setInstanceName(String instanceName) |
void |
setRepositoryLogsDir(String repositoryLogsDir) |
void |
setServletRequest(javax.servlet.http.HttpServletRequest request) |
void |
validate() |
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, getBambooPermissionManager, getBambooSession, getBambooUrl, getBambooUserManager, getBestBaseUrl, getBootstrapManager, getBreadCrumbs, getChainEquiv, getConcurrentBuildsEnabled, getConglomerateCookieValue, getCookieCutter, getCookieValue, getCurrentFormTheme, getCurrentSystemTime, getCurrentUrl, getDefaultPersister, getDescriptionFromLabelKey, getElasticConfig, getErrorMessages, getErrors, getFeatureManager, getFieldErrorAccessTracker, getFieldErrors, getFlushedErrorMessages, getFormattedActionErrors, getFormattedActionMessages, getFormattedActionWarnings, getHelpPanels, 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, hasResultKeyReadPermission, 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, setEnvironmentService, 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
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getAllErrorMessages
public static final String BUILD_WORKING_DIR
public String input() throws Exception
input
in class com.opensymphony.xwork2.ActionSupport
Exception
public String execute() throws Exception
execute
in interface com.opensymphony.xwork2.Action
execute
in class com.opensymphony.xwork2.ActionSupport
Exception
public void validate()
validate
in interface com.opensymphony.xwork2.Validateable
validate
in class com.opensymphony.xwork2.ActionSupport
public boolean isLessAttended()
public boolean isRemoteAllowed()
public String getInstanceName()
getInstanceName
in class BambooActionSupport
public void setInstanceName(String instanceName)
public String getBaseUrl()
getBaseUrl
in class BambooActionSupport
public void setBaseUrl(String url)
public String getConfigDir()
public void setConfigDir(String configDir)
public String getBuildDir()
public void setBuildDir(String buildDir)
public String getBuildWorkingDir()
public void setBuildWorkingDir(String buildWorkingDir)
public String getArtifactsDir()
public void setArtifactsDir(String artifactsDir)
public String getBrokerUrl()
public void setBrokerUrl(String brokerURI)
public String getRepositoryLogsDir()
public void setRepositoryLogsDir(String repositoryLogsDir)
public String getVersion()
public BambooLicenseManager getBambooLicenseManager()
getBambooLicenseManager
in class BambooActionSupport
public void setServletRequest(javax.servlet.http.HttpServletRequest request)
setServletRequest
in interface org.apache.struts2.interceptor.ServletRequestAware
Copyright © 2021 Atlassian Software Systems Pty Ltd. All rights reserved.