Class StatsdNotifierConfig
java.lang.Object
org.jenkinsci.plugins.githubautostatus.StatsdNotifierConfig
Class for StatsD configuration notifier.
- Author:
- Shane Gearon (shane.gearon@hootsuite.com)
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic StatsdNotifierConfigfromGlobalConfig(String externalizedID) Creates a StatsD notification config based on the global settings.Gets the externalized id.Gets the StatsD bucket.Gets the StatsD URL.Gets the StatsD maximum packet size.intGets the StatsD port.
-
Constructor Details
-
StatsdNotifierConfig
public StatsdNotifierConfig()
-
-
Method Details
-
getExternalizedID
Gets the externalized id.- Returns:
- the externalized id
-
getStatsdHost
Gets the StatsD URL.- Returns:
- the StatsD URL
-
getStatsdPort
public int getStatsdPort()Gets the StatsD port.- Returns:
- the StatsD port
-
getStatsdBucket
Gets the StatsD bucket.- Returns:
- the StatsD bucket
-
getStatsdMaxSize
Gets the StatsD maximum packet size.- Returns:
- the StatsD maximum packet size
-
fromGlobalConfig
Creates a StatsD notification config based on the global settings.- Parameters:
externalizedID- externalized id- Returns:
- the config
-