public class InfluxDbNotifierConfig extends Object
| Constructor and Description |
|---|
InfluxDbNotifierConfig() |
| Modifier and Type | Method and Description |
|---|---|
static InfluxDbNotifierConfig |
fromGlobalConfig(String repoOwner,
String repoName,
String branchName)
Creates an influxdb notification config based on the global settings
|
String |
getBranchName()
Gets the branch name
|
org.apache.http.impl.client.CloseableHttpClient |
getHttpClient()
Gets an http client that can be used to make requests
|
String |
getInfluxDbDatabase()
Gets the influx db to write to
|
String |
getInfluxDbPassword()
Gets the optional influxdb password
|
String |
getInfluxDbRetentionPolicy()
Gets the optional retention policy
|
String |
getInfluxDbUrlString()
Gets influx db url
|
String |
getInfluxDbUser()
Gets the optional influxdb user
|
String |
getRepoName()
Gets the repo name
|
String |
getRepoOwner()
Gets the repo owner
|
Boolean |
influxDbIsReachable()
Determines if influx db url is reachable
|
public String getRepoOwner()
public String getRepoName()
public String getBranchName()
public String getInfluxDbUrlString()
public Boolean influxDbIsReachable()
public org.apache.http.impl.client.CloseableHttpClient getHttpClient()
public String getInfluxDbDatabase()
public String getInfluxDbUser()
public String getInfluxDbPassword()
public String getInfluxDbRetentionPolicy()
public static InfluxDbNotifierConfig fromGlobalConfig(String repoOwner, String repoName, String branchName)
repoOwner - repo ownerrepoName - repo namebranchName - branch nameCopyright © 2016–2018. All rights reserved.