Package com.tccc.kos.commons.manifest
Interface DeviceManifest
public interface DeviceManifest
Abstraction of a top level device manifest. This defines the software
that will be installed across the entire device, including all nodes
that make up the device.
- Version:
- 2022-10-15
-
Method Summary
Modifier and TypeMethodDescriptionReturn the device information.Return the device type of the manifest.Map<String,
? extends NodeManifest> Return a map ofNodeManifest
by node type.Return the top level properties for theDeviceManifest
.void
resolveReferences
(Map<String, ChainedManifest> chainedManifestsByName) Resolve all external references using the supplied chained manifests.
-
Method Details
-
getDeviceType
String getDeviceType()Return the device type of the manifest. This is the device this manifest can run on. -
getProperties
Return the top level properties for theDeviceManifest
. Properties can be used on the device or can be used by tooling to make decisions about the manifest and the contents. Developers are free to add properties but should not use "kos." prefix. -
getNodeManifests
Map<String,? extends NodeManifest> getNodeManifests()Return a map ofNodeManifest
by node type.Be aware that to perform an update, the primary node must contain all kabs identified in entire
DeviceManifest
in the event that a board is replaced with a different revision as part of regular service. The primary node is required to be able to update that new board to the correct software. -
getDeviceInfo
ManifestDeviceInfo getDeviceInfo()Return the device information. -
resolveReferences
Resolve all external references using the supplied chained manifests.
-