public class StandardConfigContext extends BaseChainedConfigContext
ConfigContext implementation that is used for programmatic
configuration. This implementation completely ignores all environment
variables and system parameters.apiKey, applicationPackage, DEFAULT_CONFIG, environment, excludedClasses, excludedParams, excludedSysProps, feedbackFormDisplayed, feedbackFormPath, honeybadgerReadApiKey, honeybadgerUrl, httpProxyHost, httpProxyPortthreadLocal| Constructor and Description |
|---|
StandardConfigContext()
A new configuration context with default values prepopulated.
|
StandardConfigContext(java.util.Map<java.lang.String,?> configuration)
A new configuration context with default values present, but overwritten
by the passed map of configuration values.
|
StandardConfigContext(java.lang.String apiKey)
A new configuration context with the default values present.
|
equals, getApiKey, getApplicationPackage, getEnvironment, getExcludedClasses, getExcludedParams, getExcludedSysProps, getFeedbackFormPath, getHoneybadgerReadApiKey, getHoneybadgerUrl, getHttpProxyHost, getHttpProxyPort, hashCode, isFeedbackFormDisplayed, isPresent, isPresent, overwriteWithContext, setApiKey, setApplicationPackage, setEnvironment, setExcludedClasses, setExcludedParams, setExcludedSysProps, setFeedbackFormDisplayed, setFeedbackFormPath, setHoneybadgerReadApiKey, setHoneybadgerUrl, setHttpProxyHost, setHttpProxyPort, toStringpublic StandardConfigContext()
public StandardConfigContext(java.util.Map<java.lang.String,?> configuration)
configuration - map with keys that correspond to the sys prop keys documentedpublic StandardConfigContext(java.lang.String apiKey)
apiKey - Honeybadger API key