Interface GeneralConfiguration
- All Known Implementing Classes:
GeneralConfigurationImpl
public interface GeneralConfiguration
Representation of the general configuration
- Since:
- 5.10
-
Method Summary
Modifier and TypeMethodDescriptionGet base urlGet branch detection intervalGet broker client URIGet broker URIGet default page size of the dashboardGet gravatar server urlGet instance nameCron expression for RSS polling.Is gravatar support enabled?Is Gzip Compression Enabled?Whether the quiet period is disabled globally or can be configured per repository.Is polling for rss changes enabled.void
setBaseUrl
(String baseUrl) Set the base url for this servervoid
setBranchDetectionIntervalSeconds
(Integer branchDetectionIntervalSeconds) Set the branch detection interval (in seconds)void
setBrokerClientURI
(String brokerClientUrl) Set the client broker urlvoid
setBrokerURI
(String brokerUrl) Set the broker urivoid
setDashboardDefaultPageSize
(Integer dashboardDefaultPageSize) Set the default page size for the dashboardvoid
setGravatarServerUrl
(String gravatarServerUrl) Set the gravatar server urlvoid
setGravatarSupportEnabled
(Boolean enableGravatarSupport) Set whether gravatar support is enabledvoid
setGzipCompressionEnabled
(Boolean enableGzipCompression) Set whether gzip compression is enabledvoid
setInstanceName
(String instanceName) Set the instance namevoid
setQuietPeriodGloballyDisabled
(Boolean quietPeriodGloballyDisabled) Sets a quiet period globally.void
setRssPollingCronExpression
(String rssPollingCronExpression) Set cron expression for RSS polling.void
setRssPollingEnabled
(Boolean rssPollingEnabled) Set whether polling for rss changes enabled.
-
Method Details
-
setInstanceName
Set the instance name- Parameters:
instanceName
-
-
setBaseUrl
Set the base url for this server- Parameters:
baseUrl
-
-
setGravatarServerUrl
Set the gravatar server url- Parameters:
gravatarServerUrl
-
-
setBrokerURI
Set the broker uri- Parameters:
brokerUrl
-
-
setBrokerClientURI
Set the client broker url- Parameters:
brokerClientUrl
-
-
setDashboardDefaultPageSize
Set the default page size for the dashboard- Parameters:
dashboardDefaultPageSize
-
-
setBranchDetectionIntervalSeconds
Set the branch detection interval (in seconds)- Parameters:
branchDetectionIntervalSeconds
-
-
setGravatarSupportEnabled
Set whether gravatar support is enabled- Parameters:
enableGravatarSupport
-
-
setGzipCompressionEnabled
Set whether gzip compression is enabled- Parameters:
enableGzipCompression
-
-
getInstanceName
String getInstanceName()Get instance name- Returns:
- Instance Name
-
getBaseUrl
String getBaseUrl()Get base url- Returns:
- Base Url
-
getGravatarServerUrl
String getGravatarServerUrl()Get gravatar server url- Returns:
- gravatar server url
-
getBrokerURI
String getBrokerURI()Get broker URI- Returns:
- Broker URI
-
getBrokerClientURI
String getBrokerClientURI()Get broker client URI- Returns:
- Broker Client URI
-
getDashboardDefaultPageSize
Integer getDashboardDefaultPageSize()Get default page size of the dashboard- Returns:
- dashboard default page size
-
getBranchDetectionIntervalSeconds
Integer getBranchDetectionIntervalSeconds()Get branch detection interval- Returns:
- branch detection interval (in seconds)
-
isGravatarSupportEnabled
Boolean isGravatarSupportEnabled()Is gravatar support enabled?- Returns:
- true iff gravatar support is enabled
-
isGzipCompressionEnabled
Boolean isGzipCompressionEnabled()Is Gzip Compression Enabled?- Returns:
- true iff gzip compression is enabled
-
isRssPollingEnabled
Boolean isRssPollingEnabled()Is polling for rss changes enabled. -
setRssPollingEnabled
Set whether polling for rss changes enabled. -
getRssPollingCronExpression
String getRssPollingCronExpression()Cron expression for RSS polling. -
setRssPollingCronExpression
Set cron expression for RSS polling. -
isQuietPeriodGloballyDisabled
Boolean isQuietPeriodGloballyDisabled()Whether the quiet period is disabled globally or can be configured per repository.- Since:
- 9.3
-
setQuietPeriodGloballyDisabled
Sets a quiet period globally. If disabled, a quiet period won't be used on any repository. If enabled, the configuration is repository specific.- Since:
- 9.3
-