Package org.openhab.core.items
Interface MetadataAwareItem
- All Known Implementing Classes:
GroupItem
,NumberItem
@NonNullByDefault
public interface MetadataAwareItem
The
MetadataAwareItem
is an interface that can be implemented by Item
s that need to be notified of
metadata changes.- Author:
- Jan N. Klug - Initial contribution
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addedMetadata
(Metadata metadata) Can be implemented by subclasses to be informed about added metadatavoid
removedMetadata
(Metadata metadata) Can be implemented by subclasses to be informed about removed metadatavoid
updatedMetadata
(Metadata oldMetadata, Metadata newMetadata) Can be implemented by subclasses to be informed about updated metadata
-
Method Details
-
addedMetadata
Can be implemented by subclasses to be informed about added metadata -
updatedMetadata
Can be implemented by subclasses to be informed about updated metadata -
removedMetadata
Can be implemented by subclasses to be informed about removed metadata
-