Class SoftwareInfoFragment

java.lang.Object
com.kosdev.kos.commons.util.json.fragments.SoftwareInfoFragment
All Implemented Interfaces:
KosDescriptorFragment

public class SoftwareInfoFragment extends Object implements KosDescriptorFragment
Standard descriptor fragment that will be included when describing what is in a KOS manifest. This is typically used to describe what software is installed on a device. This allows quite a bit of flexibility in describing what is in a release as it can be determined on a per-kab basis. This allows a name and group to be specified while the version will come from the kab itself. The group name allows various kabs from the same functional area to be gathered together.
Since:
1
Version:
1
  • Field Details

    • PATH

      public static final String PATH
      Path to where this SoftwareInfoFragment object exists in a standard KOS descriptor.json file: kos.softwareInfo .
      See Also:
  • Constructor Details

    • SoftwareInfoFragment

      public SoftwareInfoFragment()
  • Method Details

    • setName

      public void setName(String name)
      The name of the component.
    • setDetails

      public void setDetails(String details)
      Details of the component. This may or may not be visible depending on the implementation of the ui that displays this information.
    • setGroup

      public void setGroup(String group)
      The group the component is part of. All components with the same group will be gathered together.
    • setVersion

      public void setVersion(String version)
      Populated by KOS from the version in the KAB header
    • getName

      public String getName()
      The name of the component.
    • getDetails

      public String getDetails()
      Details of the component. This may or may not be visible depending on the implementation of the ui that displays this information.
    • getGroup

      public String getGroup()
      The group the component is part of. All components with the same group will be gathered together.
    • getVersion

      public String getVersion()
      Populated by KOS from the version in the KAB header