public class SimpleConfigurationMetadataRepository extends Object implements ConfigurationMetadataRepository, Serializable
ConfigurationMetadataRepository implementation.ROOT_GROUP| Constructor and Description |
|---|
SimpleConfigurationMetadataRepository() |
| Modifier and Type | Method and Description |
|---|---|
void |
add(Collection<ConfigurationMetadataSource> sources)
Register the specified
sources. |
void |
add(ConfigurationMetadataProperty property,
ConfigurationMetadataSource source)
Add a
ConfigurationMetadataProperty with the
source that defines it, if any. |
Map<String,ConfigurationMetadataGroup> |
getAllGroups()
Return the groups, indexed by id.
|
Map<String,ConfigurationMetadataProperty> |
getAllProperties()
Return the properties, indexed by id.
|
void |
include(ConfigurationMetadataRepository repository)
Merge the content of the specified repository to this repository.
|
public SimpleConfigurationMetadataRepository()
public Map<String,ConfigurationMetadataGroup> getAllGroups()
ConfigurationMetadataRepositorygetAllGroups in interface ConfigurationMetadataRepositorypublic Map<String,ConfigurationMetadataProperty> getAllProperties()
ConfigurationMetadataRepositorygetAllProperties in interface ConfigurationMetadataRepositorypublic void add(Collection<ConfigurationMetadataSource> sources)
sources.sources - the sources to addpublic void add(ConfigurationMetadataProperty property, ConfigurationMetadataSource source)
ConfigurationMetadataProperty with the
source that defines it, if any.property - the property to addsource - the sourcepublic void include(ConfigurationMetadataRepository repository)
repository - the repository to include