Class GeneralConfigurationServiceImpl
- java.lang.Object
-
- com.atlassian.bamboo.admin.configuration.GeneralConfigurationServiceImpl
-
- All Implemented Interfaces:
GeneralConfigurationService
public class GeneralConfigurationServiceImpl extends Object implements GeneralConfigurationService
General Configuration Service- Since:
- 5.10
-
-
Constructor Summary
Constructors Constructor Description GeneralConfigurationServiceImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description GeneralConfiguration
getGeneralConfiguration()
Retrieve the current general configuration.GeneralConfiguration
updateGeneralConfiguration(@Nullable String instanceName, @Nullable String baseUrl, @Nullable String gravatarServerUrl, @Nullable String brokerUrl, @Nullable String brokerClientUrl, @Nullable Integer dashboardDefaultSize, @Nullable Integer branchDetectionIntervalSeconds, @Nullable Boolean gravatarSupportEnabled, @Nullable Boolean gzipCompressionEnabled, @Nullable Boolean enableRssPolling, @Nullable String rssPollingCronExpression, @Nullable Boolean quietPeriodGloballyDisabled)
Set the general configuration settings
-
-
-
Method Detail
-
getGeneralConfiguration
public GeneralConfiguration getGeneralConfiguration() throws URISyntaxException
Description copied from interface:GeneralConfigurationService
Retrieve the current general configuration.- Specified by:
getGeneralConfiguration
in interfaceGeneralConfigurationService
- Returns:
- current state of the general configuration
- Throws:
URISyntaxException
- if brokerURI or brokerClientURI is malformed (this should never happen)
-
updateGeneralConfiguration
public GeneralConfiguration updateGeneralConfiguration(@Nullable @Nullable String instanceName, @Nullable @Nullable String baseUrl, @Nullable @Nullable String gravatarServerUrl, @Nullable @Nullable String brokerUrl, @Nullable @Nullable String brokerClientUrl, @Nullable @Nullable Integer dashboardDefaultSize, @Nullable @Nullable Integer branchDetectionIntervalSeconds, @Nullable @Nullable Boolean gravatarSupportEnabled, @Nullable @Nullable Boolean gzipCompressionEnabled, @Nullable @Nullable Boolean enableRssPolling, @Nullable @Nullable String rssPollingCronExpression, @Nullable @Nullable Boolean quietPeriodGloballyDisabled) throws WebValidationException, URISyntaxException
Description copied from interface:GeneralConfigurationService
Set the general configuration settings- Specified by:
updateGeneralConfiguration
in interfaceGeneralConfigurationService
- Throws:
WebValidationException
- if the supplied configuration is invalidURISyntaxException
-
-