Class ResolvedManifestSection

java.lang.Object
com.kosdev.kos.core.manifest.ResolvedManifestSection

public class ResolvedManifestSection extends Object
A resolved version of a manifest section. This includes the actual kabs on the filesystem which provides quick and easy access to the kab meta data.
Since:
1
Version:
1
  • Constructor Details

    • ResolvedManifestSection

      public ResolvedManifestSection()
  • Method Details

    • getNodeManifest

      public ResolvedNodeManifest getNodeManifest()
      Return the node manifest the section is part of.
      Since:
      1
    • getName

      public String getName()
      Return the section name.
      Since:
      1
    • getKabByType

      public KabFile getKabByType(String type)
      Return the first kab in the list with the specified type.
      Parameters:
      type - the type to search for
      Since:
      1
    • getKabs

      public List<KabFile> getKabs()
      Return the kabs in the section.
      Since:
      1
    • isEmpty

      public boolean isEmpty()
      Return true if there are no kabs in the section.
      Since:
      1