public class ConfigurationAction extends GlobalAdminAction implements GlobalAdminSecurityAware
BambooActionSupport.JSONStatus
RESTRICTED_ADMIN_ACCESS_DENIED_ERROR
ACCESS_DENIED, administrationConfigurationAccessor, administrationConfigurationManager, administrationConfigurationPersister, AGGREGATE_URL_PATTERN, bambooPermissionManager, bambooUserManager, BUILD_KEY_CONTEXT, buildDefinitionManager, cachedPlanManager, CONFIRM, cookieCutter, deploymentProjectService, featureManager, PAGE_NOT_FOUND, PLAN_KEY_CONTEXT, planExecutionManager, planManager, pluginAccessor, projectManager, webInterfaceManager
Constructor and Description |
---|
ConfigurationAction() |
Modifier and Type | Method and Description |
---|---|
String |
execute()
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
|
String |
input() |
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 |
setPullRequestDetectionJobScheduler(PullRequestDetectionJobScheduler pullRequestDetectionJobScheduler) |
void |
validate() |
getSecuredDomainObject
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, 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, 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, sanitizeUrl, 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, toJson, toJson
addActionMessage, addFieldError, clearActionErrors, clearErrors, clearErrorsAndMessages, clearFieldErrors, clearMessages, clone, getActionErrors, getActionMessages, getFormatted, getLocale, getLocaleProvider, hasActionErrors, hasActionMessages, hasErrors, hasFieldErrors, isValidLocale, isValidLocaleString, pause, setActionErrors, setActionMessages, setContainer, setFieldErrors
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getSecuredDomainObject
getAllErrorMessages
public void validate()
validate
in interface com.opensymphony.xwork2.Validateable
validate
in class com.opensymphony.xwork2.ActionSupport
public String execute() throws Exception
execute
in interface com.opensymphony.xwork2.Action
execute
in class com.opensymphony.xwork2.ActionSupport
Exception
public String input() throws Exception
input
in class com.opensymphony.xwork2.ActionSupport
Exception
public String getDefaultBaseUrl()
public String getActualBaseUrl()
public String getBaseUrl()
getBaseUrl
in class BambooActionSupport
public 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 BambooActionSupport
public 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 void setPullRequestDetectionJobScheduler(PullRequestDetectionJobScheduler pullRequestDetectionJobScheduler)
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 © 2018 Atlassian Software Systems Pty Ltd. All rights reserved.