public class GeneralConfigurationServiceImpl extends Object implements GeneralConfigurationService
| Constructor and Description |
|---|
GeneralConfigurationServiceImpl() |
| Modifier and Type | Method and Description |
|---|---|
GeneralConfiguration |
getGeneralConfiguration()
Retrieve the current general configuration.
|
GeneralConfiguration |
updateGeneralConfiguration(String instanceName,
String baseUrl,
String gravatarServerUrl,
String brokerUrl,
String brokerClientUrl,
Integer dashboardDefaultSize,
Integer branchDetectionIntervalSeconds,
Boolean gravatarSupportEnabled,
Boolean gzipCompressionEnabled)
Set the general configuration settings
|
public GeneralConfiguration getGeneralConfiguration() throws URISyntaxException
GeneralConfigurationServicegetGeneralConfiguration in interface GeneralConfigurationServiceURISyntaxException - if brokerURI or brokerClientURI is malformed (this should never happen)public 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) throws WebValidationException, URISyntaxException
GeneralConfigurationServiceupdateGeneralConfiguration in interface GeneralConfigurationServiceWebValidationException - if the supplied configuration is invalidURISyntaxExceptionCopyright © 2017 Atlassian Software Systems Pty Ltd. All rights reserved.