Package org.openhab.core.items
Interface ItemRegistryChangeListener
- All Superinterfaces:
RegistryChangeListener<Item>
- All Known Implementing Classes:
ScriptItemRefresher
This is a listener interface which should be implemented where ever the item registry is
used in order to be notified of any dynamic changes in the provided items.
- Author:
- Kai Kreuzer - Initial contribution
-
Method Summary
Modifier and TypeMethodDescriptionvoid
allItemsChanged
(Collection<String> oldItemNames) Notifies the listener that all items in the registry have changed and thus should be reloaded.Methods inherited from interface org.openhab.core.common.registry.RegistryChangeListener
added, removed, updated
-
Method Details
-
allItemsChanged
Notifies the listener that all items in the registry have changed and thus should be reloaded.- Parameters:
oldItemNames
- a collection of all previous item names, so that references can be removed
-