public class GeneralConfigurationImpl extends Object implements GeneralConfiguration
Constructor and 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) |
Modifier and Type | Method and Description |
---|---|
String |
getBaseUrl()
Get base url
|
Integer |
getBranchDetectionIntervalSeconds()
Get branch detection interval
|
String |
getBrokerClientURI()
Get broker client URI
|
String |
getBrokerURI()
Get broker URI
|
Integer |
getDashboardDefaultPageSize()
Get default page size of the dashboard
|
String |
getGravatarServerUrl()
Get gravatar server url
|
String |
getInstanceName()
Get instance name
|
String |
getRssPollingCronExpression()
Cron expression for RSS polling.
|
Boolean |
isGravatarSupportEnabled()
Is gravatar support enabled?
|
Boolean |
isGzipCompressionEnabled()
Is Gzip Compression Enabled?
|
Boolean |
isRssPollingEnabled()
Is polling for rss changes enabled.
|
void |
setBaseUrl(String baseUrl)
Set the base url for this server
|
void |
setBranchDetectionIntervalSeconds(Integer branchDetectionIntervalSeconds)
Set the branch detection interval (in seconds)
|
void |
setBrokerClientURI(String brokerClientURI)
Set the client broker url
|
void |
setBrokerURI(String brokerURI)
Set the broker uri
|
void |
setDashboardDefaultPageSize(Integer dashboardDefaultPageSize)
Set the default page size for the dashboard
|
void |
setGravatarServerUrl(String gravatarServerUrl)
Set the gravatar server url
|
void |
setGravatarSupportEnabled(Boolean enableGravatarSupport)
Set whether gravatar support is enabled
|
void |
setGzipCompressionEnabled(Boolean enableGzipCompression)
Set whether gzip compression is enabled
|
void |
setInstanceName(String instanceName)
Set the instance name
|
void |
setRssPollingCronExpression(String rssPollingCronExpression)
Set cron expression for RSS polling.
|
void |
setRssPollingEnabled(Boolean rssPollingEnabled)
Set whether polling for rss changes enabled.
|
public GeneralConfigurationImpl(AdministrationConfiguration administrationConfiguration, String brokerURI, String brokerClientURI)
public GeneralConfigurationImpl(String instanceName, String baseUrl, String gravatarServerUrl, String brokerURI, String brokerClientURI, Integer dashboardDefaultPageSize, Integer branchDetectionIntervalSeconds, Boolean gravatarSupportEnabled, Boolean gzipCompressionEnabled, Boolean rssPollingEnabled, String rssPollingCronExpression)
public void setInstanceName(String instanceName)
GeneralConfiguration
setInstanceName
in interface GeneralConfiguration
public void setBaseUrl(String baseUrl)
GeneralConfiguration
setBaseUrl
in interface GeneralConfiguration
public void setGravatarServerUrl(String gravatarServerUrl)
GeneralConfiguration
setGravatarServerUrl
in interface GeneralConfiguration
public void setBrokerURI(String brokerURI)
GeneralConfiguration
setBrokerURI
in interface GeneralConfiguration
public void setBrokerClientURI(String brokerClientURI)
GeneralConfiguration
setBrokerClientURI
in interface GeneralConfiguration
public void setDashboardDefaultPageSize(Integer dashboardDefaultPageSize)
GeneralConfiguration
setDashboardDefaultPageSize
in interface GeneralConfiguration
public void setBranchDetectionIntervalSeconds(Integer branchDetectionIntervalSeconds)
GeneralConfiguration
setBranchDetectionIntervalSeconds
in interface GeneralConfiguration
public void setGravatarSupportEnabled(Boolean enableGravatarSupport)
GeneralConfiguration
setGravatarSupportEnabled
in interface GeneralConfiguration
public void setGzipCompressionEnabled(Boolean enableGzipCompression)
GeneralConfiguration
setGzipCompressionEnabled
in interface GeneralConfiguration
public String getInstanceName()
GeneralConfiguration
getInstanceName
in interface GeneralConfiguration
public String getBaseUrl()
GeneralConfiguration
getBaseUrl
in interface GeneralConfiguration
public String getGravatarServerUrl()
GeneralConfiguration
getGravatarServerUrl
in interface GeneralConfiguration
public String getBrokerURI()
GeneralConfiguration
getBrokerURI
in interface GeneralConfiguration
public String getBrokerClientURI()
GeneralConfiguration
getBrokerClientURI
in interface GeneralConfiguration
public Integer getDashboardDefaultPageSize()
GeneralConfiguration
getDashboardDefaultPageSize
in interface GeneralConfiguration
public Integer getBranchDetectionIntervalSeconds()
GeneralConfiguration
getBranchDetectionIntervalSeconds
in interface GeneralConfiguration
public Boolean isGravatarSupportEnabled()
GeneralConfiguration
isGravatarSupportEnabled
in interface GeneralConfiguration
public Boolean isGzipCompressionEnabled()
GeneralConfiguration
isGzipCompressionEnabled
in interface GeneralConfiguration
public Boolean isRssPollingEnabled()
GeneralConfiguration
isRssPollingEnabled
in interface GeneralConfiguration
public void setRssPollingEnabled(Boolean rssPollingEnabled)
GeneralConfiguration
setRssPollingEnabled
in interface GeneralConfiguration
public String getRssPollingCronExpression()
GeneralConfiguration
getRssPollingCronExpression
in interface GeneralConfiguration
public void setRssPollingCronExpression(String rssPollingCronExpression)
GeneralConfiguration
setRssPollingCronExpression
in interface GeneralConfiguration
Copyright © 2020 Atlassian Software Systems Pty Ltd. All rights reserved.