Interface GeneralConfiguration

All Known Implementing Classes:
GeneralConfigurationImpl

public interface GeneralConfiguration
Representation of the general configuration
Since:
5.10
  • Method Details

    • 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