public class DefaultsConfigContext extends Object implements ConfigContext
ConfigContext implementation that outputs nothing but the default
values for all of the configuration settings.| Modifier and Type | Field and Description |
|---|---|
static String |
DEFAULT_API_HOST
Default host to connect to for the Honeybadger API.
|
static String |
DEFAULT_API_PROTO
Default protocol for connecting to the Honeybadger API.
|
static String |
DEFAULT_ENVIRONMENT
Default environment name.
|
static String |
DEFAULT_FEEDBACK_FORM_TEMPLATE_PATH
Default feedback form template path.
|
static Integer |
DEFAULT_MAXIMUM_ERROR_REPORTING_RETRIES |
| Constructor and Description |
|---|
DefaultsConfigContext() |
| Modifier and Type | Method and Description |
|---|---|
String |
getApiKey() |
String |
getApplicationPackage() |
Integer |
getConnectTimeout() |
String |
getEnvironment() |
Set<String> |
getExcludedClasses() |
Set<String> |
getExcludedParams() |
Set<String> |
getExcludedSysProps() |
String |
getFeedbackFormPath() |
String |
getHoneybadgerReadApiKey() |
URI |
getHoneybadgerUrl() |
String |
getHttpProxyHost() |
Integer |
getHttpProxyPort() |
Integer |
getMaximumErrorReportingRetries() |
Integer |
getSocketTimeout() |
Boolean |
isFeedbackFormDisplayed() |
public static String DEFAULT_API_PROTO
public static String DEFAULT_API_HOST
public static String DEFAULT_ENVIRONMENT
public static String DEFAULT_FEEDBACK_FORM_TEMPLATE_PATH
public static final Integer DEFAULT_MAXIMUM_ERROR_REPORTING_RETRIES
public String getEnvironment()
getEnvironment in interface ConfigContextpublic URI getHoneybadgerUrl()
getHoneybadgerUrl in interface ConfigContextpublic String getApiKey()
getApiKey in interface ConfigContextpublic Set<String> getExcludedSysProps()
getExcludedSysProps in interface ConfigContextpublic Set<String> getExcludedParams()
getExcludedParams in interface ConfigContextpublic Set<String> getExcludedClasses()
getExcludedClasses in interface ConfigContextpublic String getApplicationPackage()
getApplicationPackage in interface ConfigContextpublic String getHoneybadgerReadApiKey()
getHoneybadgerReadApiKey in interface ConfigContextpublic Boolean isFeedbackFormDisplayed()
isFeedbackFormDisplayed in interface ConfigContextpublic String getFeedbackFormPath()
getFeedbackFormPath in interface ConfigContextpublic String getHttpProxyHost()
getHttpProxyHost in interface ConfigContextpublic Integer getHttpProxyPort()
getHttpProxyPort in interface ConfigContextpublic Integer getMaximumErrorReportingRetries()
getMaximumErrorReportingRetries in interface ConfigContextpublic Integer getSocketTimeout()
getSocketTimeout in interface ConfigContextpublic Integer getConnectTimeout()
getConnectTimeout in interface ConfigContextCopyright © 2023 Honeybadger.io. All rights reserved.