public interface ConfigurationEditor
ConfigurableModule
s.Modifier and Type | Interface and Description |
---|---|
static interface |
ConfigurationEditor.ConfigurableEntityManager
An interface to receive asynchronously the
ConfigurableEntityEditor s. |
Modifier and Type | Method and Description |
---|---|
List<ConfigurableEntityEditor> |
getMatchingConfigurationEditors(List<EntityPattern> configPattern,
Locale locale)
Get all the individual
ConfigurableEntities to configure each matching DescribedEntity . |
void |
registerConfigurableEntityManager(ConfigurationEditor.ConfigurableEntityManager manager,
List<EntityPattern> configPattern,
Locale locale)
Subscribe asynchronously to all the all the individual
ConfigurableEntities to configure each
matching DescribedEntity . |
void |
unRegisterConfigurableEntityManager(ConfigurationEditor.ConfigurableEntityManager manager)
Unregister a previously registered
ConfigurationEditor.ConfigurableEntityManager , it
un registers all configPattern registered. |
List<ConfigurableEntityEditor> getMatchingConfigurationEditors(List<EntityPattern> configPattern, Locale locale)
ConfigurableEntities
to configure each matching DescribedEntity
.
This call is done synchronously, internally it will call the asynchronous
method, and wait for all the responses.configPattern
- the matching entities pattern, to get only the corresponding
ConfigurableEntityEditor
s of those entities. use Empty
list to get all.locale
- the preferred locale for descriptions.ConfigurableEntityEditor
s corresponding to
matching Entities.void registerConfigurableEntityManager(ConfigurationEditor.ConfigurableEntityManager manager, List<EntityPattern> configPattern, Locale locale)
ConfigurableEntities
to configure each
matching DescribedEntity
.manager
- the listener to be called asynchronously when a new matching
DescribedEntity
is found.configPattern
- the pattern to match DescribedEntities
.locale
- the preferred language of the manager.void unRegisterConfigurableEntityManager(ConfigurationEditor.ConfigurableEntityManager manager)
ConfigurationEditor.ConfigurableEntityManager
, it
un registers all configPattern registered.manager
- configPattern
- Copyright © 2018 universAAL Consortium. All rights reserved.