Class ManifestChainResolver

java.lang.Object
com.tccc.kos.core.util.DirectoryKabSource
com.tccc.kos.core.primary.service.nodemgr.install.ManifestChainResolver
All Implemented Interfaces:
KabSource

public class ManifestChainResolver extends DirectoryKabSource
Given a directory containing manifest kabs, organize the manifests into chains that are compatible with the specified device type and are complete. This solves the problem of identifying the head of a manifest chain without requiring any additional hints. This is typically used on conjunction with USB update where a drive may just contain a collection of kabs.

As this is also a KabSource, this can also be used to construct a DeviceInstallBuidler, allowing both chain resolution and installation to occur using the resolver.

Version:
2024-04-18
  • Constructor Details

    • ManifestChainResolver

      public ManifestChainResolver(File dir)
      Create a resolver for manifest kabs in the specified directory. This will resolve the manifest chains for the current device type.
      Parameters:
      dir - the directory containing manifest kabs
    • ManifestChainResolver

      public ManifestChainResolver(File dir, String deviceType)
      Create a resolver for manifest kabs in the specified directory This will resolve the manifest chains for the specified device type.
      Parameters:
      dir - the directory containing manifest kabs
      deviceType - the deviceType to resolve
  • Method Details