public class ConfigurationAction extends GlobalAdminAction implements GlobalAdminSecurityAware
BambooActionSupport.JSONStatusRESTRICTED_ADMIN_ACCESS_DENIED_ERRORACCESS_DENIED, administrationConfigurationAccessor, administrationConfigurationManager, administrationConfigurationPersister, AGGREGATE_URL_PATTERN, bambooPermissionManager, bambooUserManager, BUILD_KEY_CONTEXT, buildDefinitionManager, cachedPlanManager, CONFIRM, cookieCutter, dashboardCachingManager, environmentService, featureManager, PAGE_NOT_FOUND, PLAN_KEY_CONTEXT, planExecutionManager, planManager, pluginAccessor, projectManager, webInterfaceManager| Constructor and Description |
|---|
ConfigurationAction() |
| Modifier and Type | Method and Description |
|---|---|
String |
doDefault()
Default action just sends to the input
|
String |
doExecute()
Update the system with the administration configuration.
|
String |
getActualBaseUrl() |
String |
getBaseUrl() |
int |
getBranchDetectionInterval() |
String |
getBrokerClientUrl() |
String |
getBrokerUrl() |
int |
getDashboardPageSize() |
String |
getDefaultBaseUrl()
See if we can determine the default base url from the servlet request...
|
String |
getGravatarServerUrl() |
boolean |
getGzipCompression()
Informs the UI if the Gzip option is enabled.
|
String |
getInstanceName()
Get and Set the name of the Bamboo Instance
|
boolean |
isEnableGravatar() |
void |
setBaseUrl(String url) |
void |
setBootstrapManager(BootstrapManager bootstrapManager) |
void |
setBranchDetectionInterval(int branchDetectionInterval) |
void |
setBranchDetectionJobScheduler(BranchDetectionJobScheduler branchDetectionJobScheduler) |
void |
setBrokerClientUrl(String url) |
void |
setBrokerUrl(String url) |
void |
setDashboardPageSize(int dashboardPageSize) |
void |
setEnableGravatar(boolean enableGravatar) |
void |
setGravatarServerUrl(String gravatarServerUrl) |
void |
setGravatarService(GravatarService gravatarService) |
void |
setGzipCompression(boolean enabled)
The user has selected the GZip webpages (via a checkbox)
|
void |
setInstanceName(String instanceName) |
void |
validate() |
getSecuredDomainObjectaddActionError, addActionWarning, addError, addError, addErrorCollection, addErrorMessage, addErrorMessage, addErrorMessages, addErrors, addFieldErrors, addHelpPanel, addIllegalArgumentException, areCheckBoxesEmpty, buildJsonObject, buildWebPanelContext, checkFieldXssSafety, createFieldValidator, doesHelpLinkHaveMatchingTitle, doesLabelKeyHaveMatchingDescription, doInput, execute, forceRelativeReturnUrl, getActionWarnings, getAdministrationConfiguration, getBamboo, getBambooLicenseManager, getBambooPermissionManager, getBambooSession, getBambooUrl, getBambooUserManager, getBestBaseUrl, getBootstrapManager, getBreadCrumbs, getChainEquiv, getConcurrentBuildsEnabled, getConglomerateCookieValue, getCookieCutter, getCookieValue, getCurrentFormTheme, getCurrentSystemTime, getCurrentUrl, getDefaultPersister, getDeploymentProject, getDescriptionFromLabelKey, getElasticConfig, getFeatureManager, getFieldErrorAccessTracker, getFieldErrors, getFlushedErrorMessages, getFormattedActionErrors, getFormattedActionMessages, getFormattedActionWarnings, getHelpPanels, getJobEquiv, getJsonObject, getNavigationContext, getNavigationUrl, getNumberOfCurrentlyBuildingPlans, getPlan, getPlanManager, getPluginAccessor, getReturnUrl, 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, hasLinkedDeployments, hasPlanPermission, hasPlanPermission, hasRestrictedAdminPermission, input, isCheckboxSetInAction, isEc2ConfigurationWarningRequired, isEnableJavascript, isEnableSignup, isInlineDialog, isRestrictedAdminEnabled, isSelectFieldAndNull, isViewContactDetailsEnabled, renderFreemarkerTemplate, setAdministrationConfigurationAccessor, setAdministrationConfigurationManager, setAdministrationConfigurationPersister, setAuthenticationContext, setBambooLicenseManager, setBambooPermissionManager, setBambooUserManager, setBuildDefinitionManager, setCachedPlanManager, setChainEquiv, setCheckBoxFields, setCookieCutter, setCurrentFormTheme, setDashboardCachingManager, setDecorator, setEnableJavascript, setEnvironmentService, setErrorMessages, setFeatureManager, setI18nBeanFactory, setJobEquiv, setJsonator, setLinkedDeploymentProjectCacheService, setNavigationContext, setPlanExecutionManager, setPlanManager, setPluginAccessor, setProfile, setProjectManager, setReturnUrl, setServerLifecycleProvider, setWebInterfaceManager, toJson, toJsonaddActionMessage, addFieldError, clearActionErrors, clearErrors, clearErrorsAndMessages, clearFieldErrors, clearMessages, clone, getActionErrors, getActionMessages, getErrorMessages, getErrors, getFormatted, getLocale, hasActionErrors, hasActionMessages, hasErrors, hasFieldErrors, pause, setActionErrors, setActionMessages, setContainer, setFieldErrorsequals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetSecuredDomainObjectgetErrorMessages, getErrorspublic void validate()
validate in interface com.opensymphony.xwork2.Validateablevalidate in class com.opensymphony.xwork2.ActionSupportpublic String doExecute() throws Exception
doExecute in class BambooActionSupportException - something nasty went wrongpublic String doDefault() throws Exception
BambooActionSupportdoDefault in class BambooActionSupportExceptionpublic String getDefaultBaseUrl()
public String getActualBaseUrl()
public String getBaseUrl()
getBaseUrl in class BambooActionSupportpublic void setBaseUrl(String url)
public void setGzipCompression(boolean enabled)
enabled - set to "on" by the webwork frameworkpublic boolean getGzipCompression()
public String getInstanceName()
getInstanceName in class BambooActionSupportpublic void setInstanceName(String instanceName)
public boolean isEnableGravatar()
public void setEnableGravatar(boolean enableGravatar)
public void setGravatarService(GravatarService gravatarService)
public void setBootstrapManager(BootstrapManager bootstrapManager)
public void setBranchDetectionJobScheduler(BranchDetectionJobScheduler branchDetectionJobScheduler)
public int getDashboardPageSize()
public void setDashboardPageSize(int dashboardPageSize)
public String getGravatarServerUrl()
public void setGravatarServerUrl(String gravatarServerUrl)
public String getBrokerUrl()
public void setBrokerUrl(String url)
public String getBrokerClientUrl()
public void setBrokerClientUrl(String url)
public int getBranchDetectionInterval()
public void setBranchDetectionInterval(int branchDetectionInterval)
Copyright © 2016 Atlassian Software Systems Pty Ltd. All rights reserved.