@Deprecated public class MultiMapConfigurationSource<K,V> extends Object implements ConfigurationSource<K,V>
ConfigurationSource wrapper for accessing Maps and PropertiesMap of key values.NAMESPACE_DELIM| Constructor and Description |
|---|
MultiMapConfigurationSource()
Deprecated.
|
MultiMapConfigurationSource(Map<String,Map<K,V>> map)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
Map<K,V> |
get(String namespace)
Deprecated.
Get a Map of key name and corresponding
IConfiguration for the specific namespace. |
V |
get(String namespace,
K key)
Deprecated.
|
V |
get(User user,
String namespace,
K key)
Deprecated.
Get a configuration in the context to a
User |
Map<String,Map<K,V>> |
getMap()
Deprecated.
Define a Map of naneSpace string to Map of configurations for that namespace
|
void |
setMap(Map<String,Map<K,V>> map)
Deprecated.
Define a Map of naneSpace string to Map of configurations for that namespace
|
public V get(String namespace, K key)
get in interface ConfigurationSource<K,V>namespace - as Stringkey - as Kpublic V get(User user, String namespace, K key)
ConfigurationSourceUserget in interface ConfigurationSource<K,V>public Map<String,Map<K,V>> getMap()
public void setMap(Map<String,Map<K,V>> map)
public Map<K,V> get(String namespace)
ConfigurationSourceIConfiguration for the specific namespace.
get in interface ConfigurationSource<K,V>namespace - as StringIConfigurationCopyright © 2018. All rights reserved.