Class GeneralConfigurationImpl
- java.lang.Object
-
- com.atlassian.bamboo.admin.configuration.GeneralConfigurationImpl
-
- All Implemented Interfaces:
GeneralConfiguration
public class GeneralConfigurationImpl extends Object implements GeneralConfiguration
-
-
Constructor Summary
Constructors Constructor Description GeneralConfigurationImpl(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
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetBaseUrl()Get base urlIntegergetBranchDetectionIntervalSeconds()Get branch detection intervalStringgetBrokerClientURI()Get broker client URIStringgetBrokerURI()Get broker URIIntegergetDashboardDefaultPageSize()Get default page size of the dashboardStringgetGravatarServerUrl()Get gravatar server urlStringgetInstanceName()Get instance nameStringgetRssPollingCronExpression()Cron expression for RSS polling.BooleanisGravatarSupportEnabled()Is gravatar support enabled?BooleanisGzipCompressionEnabled()Is Gzip Compression Enabled?BooleanisQuietPeriodGloballyDisabled()Whether the quiet period is disabled globally or can be configured per repository.BooleanisRssPollingEnabled()Is polling for rss changes enabled.voidsetBaseUrl(String baseUrl)Set the base url for this servervoidsetBranchDetectionIntervalSeconds(Integer branchDetectionIntervalSeconds)Set the branch detection interval (in seconds)voidsetBrokerClientURI(String brokerClientURI)Set the client broker urlvoidsetBrokerURI(String brokerURI)Set the broker urivoidsetDashboardDefaultPageSize(Integer dashboardDefaultPageSize)Set the default page size for the dashboardvoidsetGravatarServerUrl(String gravatarServerUrl)Set the gravatar server urlvoidsetGravatarSupportEnabled(Boolean enableGravatarSupport)Set whether gravatar support is enabledvoidsetGzipCompressionEnabled(Boolean enableGzipCompression)Set whether gzip compression is enabledvoidsetInstanceName(String instanceName)Set the instance namevoidsetQuietPeriodGloballyDisabled(Boolean quietPeriodGloballyDisabled)Sets a quiet period globally.voidsetRssPollingCronExpression(String rssPollingCronExpression)Set cron expression for RSS polling.voidsetRssPollingEnabled(Boolean rssPollingEnabled)Set whether polling for rss changes enabled.
-
-
-
Constructor Detail
-
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 Detail
-
setInstanceName
public void setInstanceName(String instanceName)
Description copied from interface:GeneralConfigurationSet the instance name- Specified by:
setInstanceNamein interfaceGeneralConfiguration
-
setBaseUrl
public void setBaseUrl(String baseUrl)
Description copied from interface:GeneralConfigurationSet the base url for this server- Specified by:
setBaseUrlin interfaceGeneralConfiguration
-
setGravatarServerUrl
public void setGravatarServerUrl(String gravatarServerUrl)
Description copied from interface:GeneralConfigurationSet the gravatar server url- Specified by:
setGravatarServerUrlin interfaceGeneralConfiguration
-
setBrokerURI
public void setBrokerURI(String brokerURI)
Description copied from interface:GeneralConfigurationSet the broker uri- Specified by:
setBrokerURIin interfaceGeneralConfiguration
-
setBrokerClientURI
public void setBrokerClientURI(String brokerClientURI)
Description copied from interface:GeneralConfigurationSet the client broker url- Specified by:
setBrokerClientURIin interfaceGeneralConfiguration
-
setDashboardDefaultPageSize
public void setDashboardDefaultPageSize(Integer dashboardDefaultPageSize)
Description copied from interface:GeneralConfigurationSet the default page size for the dashboard- Specified by:
setDashboardDefaultPageSizein interfaceGeneralConfiguration
-
setBranchDetectionIntervalSeconds
public void setBranchDetectionIntervalSeconds(Integer branchDetectionIntervalSeconds)
Description copied from interface:GeneralConfigurationSet the branch detection interval (in seconds)- Specified by:
setBranchDetectionIntervalSecondsin interfaceGeneralConfiguration
-
setGravatarSupportEnabled
public void setGravatarSupportEnabled(Boolean enableGravatarSupport)
Description copied from interface:GeneralConfigurationSet whether gravatar support is enabled- Specified by:
setGravatarSupportEnabledin interfaceGeneralConfiguration
-
setGzipCompressionEnabled
public void setGzipCompressionEnabled(Boolean enableGzipCompression)
Description copied from interface:GeneralConfigurationSet whether gzip compression is enabled- Specified by:
setGzipCompressionEnabledin interfaceGeneralConfiguration
-
getInstanceName
public String getInstanceName()
Description copied from interface:GeneralConfigurationGet instance name- Specified by:
getInstanceNamein interfaceGeneralConfiguration- Returns:
- Instance Name
-
getBaseUrl
public String getBaseUrl()
Description copied from interface:GeneralConfigurationGet base url- Specified by:
getBaseUrlin interfaceGeneralConfiguration- Returns:
- Base Url
-
getGravatarServerUrl
public String getGravatarServerUrl()
Description copied from interface:GeneralConfigurationGet gravatar server url- Specified by:
getGravatarServerUrlin interfaceGeneralConfiguration- Returns:
- gravatar server url
-
getBrokerURI
public String getBrokerURI()
Description copied from interface:GeneralConfigurationGet broker URI- Specified by:
getBrokerURIin interfaceGeneralConfiguration- Returns:
- Broker URI
-
getBrokerClientURI
public String getBrokerClientURI()
Description copied from interface:GeneralConfigurationGet broker client URI- Specified by:
getBrokerClientURIin interfaceGeneralConfiguration- Returns:
- Broker Client URI
-
getDashboardDefaultPageSize
public Integer getDashboardDefaultPageSize()
Description copied from interface:GeneralConfigurationGet default page size of the dashboard- Specified by:
getDashboardDefaultPageSizein interfaceGeneralConfiguration- Returns:
- dashboard default page size
-
getBranchDetectionIntervalSeconds
public Integer getBranchDetectionIntervalSeconds()
Description copied from interface:GeneralConfigurationGet branch detection interval- Specified by:
getBranchDetectionIntervalSecondsin interfaceGeneralConfiguration- Returns:
- branch detection interval (in seconds)
-
isGravatarSupportEnabled
public Boolean isGravatarSupportEnabled()
Description copied from interface:GeneralConfigurationIs gravatar support enabled?- Specified by:
isGravatarSupportEnabledin interfaceGeneralConfiguration- Returns:
- true iff gravatar support is enabled
-
isGzipCompressionEnabled
public Boolean isGzipCompressionEnabled()
Description copied from interface:GeneralConfigurationIs Gzip Compression Enabled?- Specified by:
isGzipCompressionEnabledin interfaceGeneralConfiguration- Returns:
- true iff gzip compression is enabled
-
isRssPollingEnabled
public Boolean isRssPollingEnabled()
Description copied from interface:GeneralConfigurationIs polling for rss changes enabled.- Specified by:
isRssPollingEnabledin interfaceGeneralConfiguration
-
setRssPollingEnabled
public void setRssPollingEnabled(Boolean rssPollingEnabled)
Description copied from interface:GeneralConfigurationSet whether polling for rss changes enabled.- Specified by:
setRssPollingEnabledin interfaceGeneralConfiguration
-
getRssPollingCronExpression
public String getRssPollingCronExpression()
Description copied from interface:GeneralConfigurationCron expression for RSS polling.- Specified by:
getRssPollingCronExpressionin interfaceGeneralConfiguration
-
setRssPollingCronExpression
public void setRssPollingCronExpression(String rssPollingCronExpression)
Description copied from interface:GeneralConfigurationSet cron expression for RSS polling.- Specified by:
setRssPollingCronExpressionin interfaceGeneralConfiguration
-
isQuietPeriodGloballyDisabled
public Boolean isQuietPeriodGloballyDisabled()
Description copied from interface:GeneralConfigurationWhether the quiet period is disabled globally or can be configured per repository.- Specified by:
isQuietPeriodGloballyDisabledin interfaceGeneralConfiguration
-
setQuietPeriodGloballyDisabled
public void setQuietPeriodGloballyDisabled(Boolean quietPeriodGloballyDisabled)
Description copied from interface:GeneralConfigurationSets 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:
setQuietPeriodGloballyDisabledin interfaceGeneralConfiguration
-
-