public class ConfigContainer extends HashMap<String,Map<String,SuperConfiguration>>
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Constructor and Description |
|---|
ConfigContainer() |
| Modifier and Type | Method and Description |
|---|---|
SuperConfiguration |
getConfigurationByTypeName(String type,
String name)
Gets configuration message representatives from local hashmap specified
by type and by name.
|
List<SuperConfiguration> |
getConfigurationsByClass(Class c)
Adds every object that can be casted to initial class to the output list.
|
List<SuperConfiguration> |
getConfigurationsByConfigType(ConfigType type)
Iterates through local hashmap values and seeks match.
|
List<SuperConfiguration> |
getConfigurationsByType(String type)
Gets configuration message representatives from local hashmap.
|
List<MessageDescriptor> |
getNonEmptyDescription()
For each type of Configuration it adds all individuals to the returnee
List as a couple (Type, Name)
|
clear, clone, containsKey, containsValue, entrySet, get, isEmpty, keySet, put, putAll, remove, size, valuesequals, hashCode, toStringpublic List<SuperConfiguration> getConfigurationsByType(String type)
type - String representing the type of Configuration to returnpublic List<SuperConfiguration> getConfigurationsByConfigType(ConfigType type)
type - ConfigurationType representing the type of Configuration to
returnpublic List<SuperConfiguration> getConfigurationsByClass(Class c)
c - Class representing the type of which the return list should bepublic SuperConfiguration getConfigurationByTypeName(String type, String name)
type - String representing the type of configuration to return.name - String representing the name of configuration to return.public List<MessageDescriptor> getNonEmptyDescription()
Copyright © 2013 AMIS research group, Faculty of Mathematics and Physics, Charles University in Prague, Czech Republic. All Rights Reserved.