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 Details

    • getDeviceType

      String getDeviceType()
      Return the device type of the manifest. This is the device this manifest can run on.
    • getProperties

      Map<String,String> getProperties()
      Return the top level properties for the DeviceManifest . 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 of NodeManifest 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

      void resolveReferences(Map<String,ChainedManifest> chainedManifestsByName)
      Resolve all external references using the supplied chained manifests.