Class GrafanaServerConfiguration
- java.lang.Object
-
- org.opennms.netmgt.endpoints.grafana.client.GrafanaServerConfiguration
-
public class GrafanaServerConfiguration extends Object
-
-
Field Summary
Fields Modifier and Type Field Description static int
DEFAULT_CONNECT_TIMEOUT_IN_SECONDS
static int
DEFAULT_READ_TIMEOUT_IN_SECONDS
-
Constructor Summary
Constructors Constructor Description GrafanaServerConfiguration(String url, String apiKey, Integer connectTimeoutSeconds, Integer readTimeoutSeconds)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static GrafanaServerConfiguration
fromEnv()
String
getApiKey()
int
getConnectTimeoutSeconds()
int
getReadTimeoutSeconds()
String
getUrl()
String
toString()
-
-
-
Method Detail
-
fromEnv
public static GrafanaServerConfiguration fromEnv()
-
getUrl
public String getUrl()
-
getApiKey
public String getApiKey()
-
getConnectTimeoutSeconds
public int getConnectTimeoutSeconds()
-
getReadTimeoutSeconds
public int getReadTimeoutSeconds()
-
-