public class SystemPropertyProvider
extends java.lang.Object
| Constructor and Description |
|---|
SystemPropertyProvider() |
SystemPropertyProvider(SystemProps sysProps,
EnvironmentFacade environmentFacade) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getEnvironmentVariable(java.lang.String key) |
java.util.Map<java.lang.String,java.lang.Object> |
getNewRelicEnvVarsWithoutPrefix()
Returns the New Relic environment properties with the 'NEW_RELIC_' prefixes removed.
|
java.util.Map<java.lang.String,java.lang.Object> |
getNewRelicPropertiesWithoutPrefix()
Returns the New Relic system properties with the 'newrelic.config.' prefixes removed.
|
java.util.Map<java.lang.String,java.lang.String> |
getNewRelicSystemProperties()
Get a map of the New Relic system properties (any property starting with newrelic.)
|
java.lang.String |
getSystemProperty(java.lang.String prop) |
public SystemPropertyProvider()
public SystemPropertyProvider(SystemProps sysProps, EnvironmentFacade environmentFacade)
public java.lang.String getEnvironmentVariable(java.lang.String key)
public java.lang.String getSystemProperty(java.lang.String prop)
public java.util.Map<java.lang.String,java.lang.String> getNewRelicSystemProperties()
public java.util.Map<java.lang.String,java.lang.Object> getNewRelicPropertiesWithoutPrefix()
public java.util.Map<java.lang.String,java.lang.Object> getNewRelicEnvVarsWithoutPrefix()