Package net.solarnetwork.node.service
Interface NodeMetadataService
public interface NodeMetadataService
API for managing node metadata.
- Since:
- 1.50
- Version:
- 2.0
- Author:
- matt
-
Method Summary
Modifier and TypeMethodDescriptionvoidaddNodeMetadata(net.solarnetwork.domain.datum.GeneralDatumMetadata meta) Add node metadata.net.solarnetwork.domain.datum.GeneralDatumMetadataGet all metadata for the active node.
-
Method Details
-
addNodeMetadata
void addNodeMetadata(net.solarnetwork.domain.datum.GeneralDatumMetadata meta) Add node metadata. If metadata already exists for the given source, the values will be merged such that tags are only added and only new info values will be added.- Parameters:
meta- the metadata to add
-
getNodeMetadata
net.solarnetwork.domain.datum.GeneralDatumMetadata getNodeMetadata()Get all metadata for the active node.- Returns:
- the metadata, or null if none available
-