Class GeneralConfigurationImpl
java.lang.Object
com.atlassian.bamboo.admin.configuration.GeneralConfigurationImpl
- All Implemented Interfaces:
GeneralConfiguration
-
Constructor Summary
ConstructorDescriptionGeneralConfigurationImpl
(AdministrationConfiguration administrationConfiguration, String brokerURI, String brokerClientURI) GeneralConfigurationImpl
(String instanceName, String baseUrl, String gravatarServerUrl, String brokerURI, String brokerClientURI, Integer dashboardDefaultPageSize, Integer branchDetectionIntervalSeconds, Boolean gravatarSupportEnabled, Boolean gzipCompressionEnabled, Boolean rssPollingEnabled, String rssPollingCronExpression, Boolean quietPeriodGloballyDisabled) -
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 brokerClientURI) Set the client broker urlvoid
setBrokerURI
(String brokerURI) 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.
-
Constructor Details
-
GeneralConfigurationImpl
public GeneralConfigurationImpl(AdministrationConfiguration administrationConfiguration, String brokerURI, String brokerClientURI) -
GeneralConfigurationImpl
public GeneralConfigurationImpl(String instanceName, String baseUrl, String gravatarServerUrl, String brokerURI, String brokerClientURI, Integer dashboardDefaultPageSize, Integer branchDetectionIntervalSeconds, Boolean gravatarSupportEnabled, Boolean gzipCompressionEnabled, Boolean rssPollingEnabled, String rssPollingCronExpression, Boolean quietPeriodGloballyDisabled)
-
-
Method Details
-
setInstanceName
Description copied from interface:GeneralConfiguration
Set the instance name- Specified by:
setInstanceName
in interfaceGeneralConfiguration
-
setBaseUrl
Description copied from interface:GeneralConfiguration
Set the base url for this server- Specified by:
setBaseUrl
in interfaceGeneralConfiguration
-
setGravatarServerUrl
Description copied from interface:GeneralConfiguration
Set the gravatar server url- Specified by:
setGravatarServerUrl
in interfaceGeneralConfiguration
-
setBrokerURI
Description copied from interface:GeneralConfiguration
Set the broker uri- Specified by:
setBrokerURI
in interfaceGeneralConfiguration
-
setBrokerClientURI
Description copied from interface:GeneralConfiguration
Set the client broker url- Specified by:
setBrokerClientURI
in interfaceGeneralConfiguration
-
setDashboardDefaultPageSize
Description copied from interface:GeneralConfiguration
Set the default page size for the dashboard- Specified by:
setDashboardDefaultPageSize
in interfaceGeneralConfiguration
-
setBranchDetectionIntervalSeconds
Description copied from interface:GeneralConfiguration
Set the branch detection interval (in seconds)- Specified by:
setBranchDetectionIntervalSeconds
in interfaceGeneralConfiguration
-
setGravatarSupportEnabled
Description copied from interface:GeneralConfiguration
Set whether gravatar support is enabled- Specified by:
setGravatarSupportEnabled
in interfaceGeneralConfiguration
-
setGzipCompressionEnabled
Description copied from interface:GeneralConfiguration
Set whether gzip compression is enabled- Specified by:
setGzipCompressionEnabled
in interfaceGeneralConfiguration
-
getInstanceName
Description copied from interface:GeneralConfiguration
Get instance name- Specified by:
getInstanceName
in interfaceGeneralConfiguration
- Returns:
- Instance Name
-
getBaseUrl
Description copied from interface:GeneralConfiguration
Get base url- Specified by:
getBaseUrl
in interfaceGeneralConfiguration
- Returns:
- Base Url
-
getGravatarServerUrl
Description copied from interface:GeneralConfiguration
Get gravatar server url- Specified by:
getGravatarServerUrl
in interfaceGeneralConfiguration
- Returns:
- gravatar server url
-
getBrokerURI
Description copied from interface:GeneralConfiguration
Get broker URI- Specified by:
getBrokerURI
in interfaceGeneralConfiguration
- Returns:
- Broker URI
-
getBrokerClientURI
Description copied from interface:GeneralConfiguration
Get broker client URI- Specified by:
getBrokerClientURI
in interfaceGeneralConfiguration
- Returns:
- Broker Client URI
-
getDashboardDefaultPageSize
Description copied from interface:GeneralConfiguration
Get default page size of the dashboard- Specified by:
getDashboardDefaultPageSize
in interfaceGeneralConfiguration
- Returns:
- dashboard default page size
-
getBranchDetectionIntervalSeconds
Description copied from interface:GeneralConfiguration
Get branch detection interval- Specified by:
getBranchDetectionIntervalSeconds
in interfaceGeneralConfiguration
- Returns:
- branch detection interval (in seconds)
-
isGravatarSupportEnabled
Description copied from interface:GeneralConfiguration
Is gravatar support enabled?- Specified by:
isGravatarSupportEnabled
in interfaceGeneralConfiguration
- Returns:
- true iff gravatar support is enabled
-
isGzipCompressionEnabled
Description copied from interface:GeneralConfiguration
Is Gzip Compression Enabled?- Specified by:
isGzipCompressionEnabled
in interfaceGeneralConfiguration
- Returns:
- true iff gzip compression is enabled
-
isRssPollingEnabled
Description copied from interface:GeneralConfiguration
Is polling for rss changes enabled.- Specified by:
isRssPollingEnabled
in interfaceGeneralConfiguration
-
setRssPollingEnabled
Description copied from interface:GeneralConfiguration
Set whether polling for rss changes enabled.- Specified by:
setRssPollingEnabled
in interfaceGeneralConfiguration
-
getRssPollingCronExpression
Description copied from interface:GeneralConfiguration
Cron expression for RSS polling.- Specified by:
getRssPollingCronExpression
in interfaceGeneralConfiguration
-
setRssPollingCronExpression
Description copied from interface:GeneralConfiguration
Set cron expression for RSS polling.- Specified by:
setRssPollingCronExpression
in interfaceGeneralConfiguration
-
isQuietPeriodGloballyDisabled
Description copied from interface:GeneralConfiguration
Whether the quiet period is disabled globally or can be configured per repository.- Specified by:
isQuietPeriodGloballyDisabled
in interfaceGeneralConfiguration
-
setQuietPeriodGloballyDisabled
Description copied from interface:GeneralConfiguration
Sets a quiet period globally. If disabled, a quiet period won't be used on any repository. If enabled, the configuration is repository specific.- Specified by:
setQuietPeriodGloballyDisabled
in interfaceGeneralConfiguration
-