Interface GeneralConfiguration
-
- All Known Implementing Classes:
GeneralConfigurationImpl
public interface GeneralConfigurationRepresentation of the general configuration- Since:
- 5.10
-
-
Method Summary
All Methods Instance Methods Abstract 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 brokerClientUrl)Set the client broker urlvoidsetBrokerURI(String brokerUrl)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.
-
-
-
Method Detail
-
setInstanceName
void setInstanceName(String instanceName)
Set the instance name- Parameters:
instanceName-
-
setBaseUrl
void setBaseUrl(String baseUrl)
Set the base url for this server- Parameters:
baseUrl-
-
setGravatarServerUrl
void setGravatarServerUrl(String gravatarServerUrl)
Set the gravatar server url- Parameters:
gravatarServerUrl-
-
setBrokerURI
void setBrokerURI(String brokerUrl)
Set the broker uri- Parameters:
brokerUrl-
-
setBrokerClientURI
void setBrokerClientURI(String brokerClientUrl)
Set the client broker url- Parameters:
brokerClientUrl-
-
setDashboardDefaultPageSize
void setDashboardDefaultPageSize(Integer dashboardDefaultPageSize)
Set the default page size for the dashboard- Parameters:
dashboardDefaultPageSize-
-
setBranchDetectionIntervalSeconds
void setBranchDetectionIntervalSeconds(Integer branchDetectionIntervalSeconds)
Set the branch detection interval (in seconds)- Parameters:
branchDetectionIntervalSeconds-
-
setGravatarSupportEnabled
void setGravatarSupportEnabled(Boolean enableGravatarSupport)
Set whether gravatar support is enabled- Parameters:
enableGravatarSupport-
-
setGzipCompressionEnabled
void setGzipCompressionEnabled(Boolean enableGzipCompression)
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
void setRssPollingEnabled(Boolean rssPollingEnabled)
Set whether polling for rss changes enabled.
-
getRssPollingCronExpression
String getRssPollingCronExpression()
Cron expression for RSS polling.
-
setRssPollingCronExpression
void setRssPollingCronExpression(String rssPollingCronExpression)
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
void setQuietPeriodGloballyDisabled(Boolean quietPeriodGloballyDisabled)
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
-
-