Class JiraWebhooksConfiguration

java.lang.Object
com.atlassian.jira.plugins.webhooks.spi.JiraWebhooksConfiguration
All Implemented Interfaces:
com.atlassian.webhooks.WebhooksConfiguration

@Component("webhooksConfiguration") public class JiraWebhooksConfiguration extends Object implements com.atlassian.webhooks.WebhooksConfiguration
  • Constructor Details

    • JiraWebhooksConfiguration

      public JiraWebhooksConfiguration(ApplicationProperties applicationProperties)
  • Method Details

    • getBackoffExponent

      public double getBackoffExponent()
      Specified by:
      getBackoffExponent in interface com.atlassian.webhooks.WebhooksConfiguration
    • getBackoffInitialDelay

      @Nonnull public Duration getBackoffInitialDelay()
      Specified by:
      getBackoffInitialDelay in interface com.atlassian.webhooks.WebhooksConfiguration
    • getBackoffMaxDelay

      @Nonnull public Duration getBackoffMaxDelay()
      Specified by:
      getBackoffMaxDelay in interface com.atlassian.webhooks.WebhooksConfiguration
    • getBackoffTriggerCount

      public int getBackoffTriggerCount()
      Specified by:
      getBackoffTriggerCount in interface com.atlassian.webhooks.WebhooksConfiguration
    • getBlacklistedAddresses

      @Nonnull public List<String> getBlacklistedAddresses()
      Specified by:
      getBlacklistedAddresses in interface com.atlassian.webhooks.WebhooksConfiguration
    • getConnectionTimeout

      @Nonnull public Duration getConnectionTimeout()
      Specified by:
      getConnectionTimeout in interface com.atlassian.webhooks.WebhooksConfiguration
    • getDispatchQueueSize

      public int getDispatchQueueSize()
      Specified by:
      getDispatchQueueSize in interface com.atlassian.webhooks.WebhooksConfiguration
    • getDispatchTimeout

      @Nonnull public Duration getDispatchTimeout()
      Specified by:
      getDispatchTimeout in interface com.atlassian.webhooks.WebhooksConfiguration
    • getDispatchQueueWaitTimeout

      public Duration getDispatchQueueWaitTimeout()
      Specified by:
      getDispatchQueueWaitTimeout in interface com.atlassian.webhooks.WebhooksConfiguration
    • getDispatchThreadCount

      public int getDispatchThreadCount()
      Specified by:
      getDispatchThreadCount in interface com.atlassian.webhooks.WebhooksConfiguration
    • getIoThreadCount

      public int getIoThreadCount()
      Specified by:
      getIoThreadCount in interface com.atlassian.webhooks.WebhooksConfiguration
    • getMaxCallbackThreads

      public int getMaxCallbackThreads()
      Specified by:
      getMaxCallbackThreads in interface com.atlassian.webhooks.WebhooksConfiguration
    • getMaxHttpConnections

      public int getMaxHttpConnections()
      Specified by:
      getMaxHttpConnections in interface com.atlassian.webhooks.WebhooksConfiguration
    • getMaxHttpConnectionsPerHost

      public int getMaxHttpConnectionsPerHost()
      Specified by:
      getMaxHttpConnectionsPerHost in interface com.atlassian.webhooks.WebhooksConfiguration
    • getMaxInFlightDispatches

      public int getMaxInFlightDispatches()
      Specified by:
      getMaxInFlightDispatches in interface com.atlassian.webhooks.WebhooksConfiguration
    • getMaxResponseBodySize

      public long getMaxResponseBodySize()
      Specified by:
      getMaxResponseBodySize in interface com.atlassian.webhooks.WebhooksConfiguration
    • getMaxResponseHeaderLineSize

      public int getMaxResponseHeaderLineSize()
      Specified by:
      getMaxResponseHeaderLineSize in interface com.atlassian.webhooks.WebhooksConfiguration
    • getSocketTimeout

      @Nonnull public Duration getSocketTimeout()
      Specified by:
      getSocketTimeout in interface com.atlassian.webhooks.WebhooksConfiguration
    • getStatisticsFlushInterval

      @Nonnull public Duration getStatisticsFlushInterval()
      Specified by:
      getStatisticsFlushInterval in interface com.atlassian.webhooks.WebhooksConfiguration
    • isStatisticsEnabled

      public boolean isStatisticsEnabled()
      Specified by:
      isStatisticsEnabled in interface com.atlassian.webhooks.WebhooksConfiguration
    • isInvocationHistoryEnabled

      public boolean isInvocationHistoryEnabled()
      Specified by:
      isInvocationHistoryEnabled in interface com.atlassian.webhooks.WebhooksConfiguration