Package org.openhab.core.items
Interface ManagedMetadataProvider
- All Superinterfaces:
ManagedProvider<Metadata,
,MetadataKey> MetadataProvider
,Provider<Metadata>
@NonNullByDefault
public interface ManagedMetadataProvider
extends ManagedProvider<Metadata,MetadataKey>, MetadataProvider
ManagedMetadataProvider
is an OSGi service interface that allows to add or remove
metadata for items at runtime. Persistence of added metadata is handled by
a StorageService
.- Author:
- Kai Kreuzer - Initial contribution
-
Method Summary
Modifier and TypeMethodDescriptionvoid
removeItemMetadata
(String name) Removes all metadata of a given itemMethods inherited from interface org.openhab.core.common.registry.ManagedProvider
add, get, remove, update
Methods inherited from interface org.openhab.core.common.registry.Provider
addProviderChangeListener, getAll, removeProviderChangeListener
-
Method Details
-
removeItemMetadata
Removes all metadata of a given item- Parameters:
name
- the name of the item for which the metadata is to be removed.
-