Class ResolvedDeviceManifest

java.lang.Object
com.tccc.kos.core.manifest.ResolvedDeviceManifest

public class ResolvedDeviceManifest extends Object
A wrapper around DeviceManifest that enumerates all node manifests and resolves them which identifies all the locally installed kab files as well as any missing artifacts.
Version:
2023-01-01
  • Constructor Details

    • ResolvedDeviceManifest

      public ResolvedDeviceManifest()
  • Method Details

    • isIncomplete

      public boolean isIncomplete()
      Return true if there are any missing artifacts.
    • getNodeManifest

      public ResolvedNodeManifest getNodeManifest(NodeId nodeId, String boardType, String arch)
      Return the node manifest for the specified node, boardType and arch. These will be used as selectors to match available node manifests. Matching will be in the following order:
      • nodeType-boardType-arch
      • nodeType-boardType
      • nodeType-arch
      • nodeType
      Parameters:
      nodeId - the nodeId of the node
      boardType - the boardType of the node
      arch - the architecture of the node
      Returns:
      matching nodeManifest or null
    • getManifestId

      public String getManifestId()
    • getManifestKab

      public KabFile getManifestKab()
    • getDeviceManifest

      public DeviceManifest getDeviceManifest()
    • getQualifierMap

      public Map<String,ResolvedNodeManifest> getQualifierMap()