public interface GeneralConfigurationService
Modifier and Type | Method and 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)
Set the general configuration settings
|
GeneralConfiguration getGeneralConfiguration() throws URISyntaxException
URISyntaxException
- if brokerURI or brokerClientURI is malformed (this should never happen)org.acegisecurity.AccessDeniedException
- if user does not have appropriate permissions (Restricted Admin)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) throws WebValidationException, URISyntaxException
instanceName
- baseUrl
- gravatarServerUrl
- brokerUrl
- brokerClientUrl
- dashboardDefaultSize
- branchDetectionIntervalSeconds
- gravatarSupportEnabled
- gzipCompressionEnabled
- enableRssPolling
- rssPollingCronExpression
- WebValidationException
- if the supplied configuration is invalidURISyntaxException
Copyright © 2022 Atlassian Software Systems Pty Ltd. All rights reserved.