Class ManifestService
java.lang.Object
com.kosdev.kos.core.service.manifest.ManifestService
Service that tracks the active manifest.
- Since:
- 1
- Version:
- 1
-
Method Summary
Modifier and TypeMethodDescriptionReturn information about the device as declared in the manifest.Return the currently activeResolvedDeviceManifestfor this device.Return the KOS version.longReturn the create time for the device manifest kabReturn the id of the active device manifest.Return a list of nodeId's that are defined for this device.getNodeInfo(NodeId nodeId) Return node information for the specified nodeId.getNodeInfo(String nodeId) Return node information for the specified nodeId.Return the currently activeResolvedNodeManifestfor this node within the device.getNodes()Return the list of nodes defined for this device.Return the software info for this node.
-
Method Details
-
getManifestId
Return the id of the active device manifest.- Since:
- 1
-
getDeviceInfo
Return information about the device as declared in the manifest. This defines the shape of the device, including all possible nodes the device can contain.- Since:
- 1
-
getDeviceManifest
Return the currently activeResolvedDeviceManifestfor this device. This is the manifest that is used across the entire device.- Since:
- 1
-
getNodeManifest
Return the currently activeResolvedNodeManifestfor this node within the device.- Since:
- 1
-
getNodes
Return the list of nodes defined for this device.- Since:
- 1
-
getNodeIds
Return a list of nodeId's that are defined for this device.- Since:
- 1
-
getNodeInfo
Return node information for the specified nodeId.- Since:
- 1
-
getNodeInfo
Return node information for the specified nodeId.- Since:
- 1
-
getKosVersion
Return the KOS version.- Since:
- 1
-
getSoftwareInfo
Return the software info for this node.- Since:
- 1
-
getManifestCreateTime
public long getManifestCreateTime()Return the create time for the device manifest kab- Since:
- 9
-