public final class ConfigurationCoordinates extends AbstractConfiguration implements Serializable
AbstractConfiguration
conceptually housing only the
configuration property that returns a Map
-convertible
String
representing configuration coordinates for the
calling application.Configurations.getConfigurationCoordinates()
,
Serialized FormConstructor and Description |
---|
ConfigurationCoordinates()
Creates a new
ConfigurationCoordinates . |
Modifier and Type | Method and Description |
---|---|
Set<String> |
getNames()
|
ConfigurationValue |
getValue(Map<String,String> ignoredConfigurationCoordinates,
String name)
Attempts to return a value for the System property named "configurationCoordinates".
|
getConfigurations, setConfigurations
public ConfigurationCoordinates()
ConfigurationCoordinates
.public final ConfigurationValue getValue(Map<String,String> ignoredConfigurationCoordinates, String name)
This method may return null
.
getValue
in interface Configuration
ignoredConfigurationCoordinates
- a Map
of
configuration coordinates in effect for the request; effectively
ignored since by definition this method will be returning a
ConfigurationValue
containing a String
value
representing a Map
of configuration coordinates for the
caller; may be null
; not used by this implementationname
- the name of the configuration property for which a
value should be returned; may be null
ConfigurationValue
representing the
configuration coordinates to assign to the caller, or null
ConfigurationValue
public final Set<String> getNames()
Set
of the names of all ConfigurationValue
s that might be returned by this Configuration
.
This method never returns null
.
This implementation returns a Set
with only the value
of Configurations.CONFIGURATION_COORDINATES
in it.
getNames
in interface Configuration
null
Set
of namesCopyright © 2017–2019, microBean. All rights reserved.