public class LocalEnvironment extends java.lang.Object implements Environment
| Modifier and Type | Method and Description |
|---|---|
void |
configureContext(MetricsContext context) |
java.lang.String |
getLogGroupName()
Get log group name.
|
java.lang.String |
getName()
Get the environment name.
|
ISink |
getSink() |
java.lang.String |
getType()
Get the environment type.
|
boolean |
probe()
Determines whether or not we are executing in this environment.
|
public boolean probe()
Environmentprobe in interface Environmentpublic java.lang.String getName()
EnvironmentgetName in interface Environmentpublic java.lang.String getType()
EnvironmentgetType in interface Environmentpublic java.lang.String getLogGroupName()
EnvironmentgetLogGroupName in interface Environmentpublic void configureContext(MetricsContext context)
configureContext in interface Environmentcontext - the context to configure with environment propertiespublic ISink getSink()
getSink in interface Environment