Class StatsdNotifierConfig

java.lang.Object
org.jenkinsci.plugins.githubautostatus.StatsdNotifierConfig

public class StatsdNotifierConfig extends Object
Class for StatsD configuration notifier.
Author:
Shane Gearon (shane.gearon@hootsuite.com)
  • Constructor Details

    • StatsdNotifierConfig

      public StatsdNotifierConfig()
  • Method Details

    • getExternalizedID

      public String getExternalizedID()
      Gets the externalized id.
      Returns:
      the externalized id
    • getStatsdHost

      public String getStatsdHost()
      Gets the StatsD URL.
      Returns:
      the StatsD URL
    • getStatsdPort

      public int getStatsdPort()
      Gets the StatsD port.
      Returns:
      the StatsD port
    • getStatsdBucket

      public String getStatsdBucket()
      Gets the StatsD bucket.
      Returns:
      the StatsD bucket
    • getStatsdMaxSize

      public String getStatsdMaxSize()
      Gets the StatsD maximum packet size.
      Returns:
      the StatsD maximum packet size
    • fromGlobalConfig

      public static StatsdNotifierConfig fromGlobalConfig(String externalizedID)
      Creates a StatsD notification config based on the global settings.
      Parameters:
      externalizedID - externalized id
      Returns:
      the config