public final class EnvironmentVariablesConfiguration extends AbstractConfiguration implements Ranked, Serializable
AbstractConfiguration providing access to environment variabes.getValue(Map, String),
Serialized Form| Constructor and Description |
|---|
EnvironmentVariablesConfiguration()
Creates a new
EnvironmentVariablesConfiguration. |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object other) |
Set<String> |
getNames()
|
int |
getRank() |
ConfigurationValue |
getValue(Map<String,String> coordinates,
String name)
Returns a
ConfigurationValue representing the environment variable identified by the
supplied name, or null. |
int |
hashCode() |
String |
toString() |
getConfigurations, setConfigurationspublic EnvironmentVariablesConfiguration()
EnvironmentVariablesConfiguration.public final ConfigurationValue getValue(Map<String,String> coordinates, String name)
ConfigurationValue representing the environment variable identified by the
supplied name, or null.getValue in interface Configurationcoordinates - the configuration coordinates in effect for
the current request; may be nullname - the name of the configuration property for which to
return a ConfigurationValue; may be nullConfigurationValue, or nullConfigurationValuepublic final Set<String> getNames()
Set of the names of all ConfigurationValues that might be returned by this Configuration.
This implementation does not return null.
This implementation returns the equivalent of System.getenv().keySet().
getNames in interface Configurationnull Set of namesCopyright © 2017–2019, microBean. All rights reserved.