Class SoftwareInfoFragment
java.lang.Object
com.kosdev.kos.commons.util.json.fragments.SoftwareInfoFragment
- All Implemented Interfaces:
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 Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionDetails of the component.getGroup()The group the component is part of.getName()The name of the component.Populated by KOS from the version in the KAB headervoidsetDetails(String details) Details of the component.voidThe group the component is part of.voidThe name of the component.voidsetVersion(String version) Populated by KOS from the version in the KAB header
-
Field Details
-
PATH
Path to where thisSoftwareInfoFragmentobject exists in a standard KOS descriptor.json file:kos.softwareInfo.- See Also:
-
-
Constructor Details
-
SoftwareInfoFragment
public SoftwareInfoFragment()
-
-
Method Details
-
setName
The name of the component. -
setDetails
Details of the component. This may or may not be visible depending on the implementation of the ui that displays this information. -
setGroup
The group the component is part of. All components with the same group will be gathered together. -
setVersion
Populated by KOS from the version in the KAB header -
getName
The name of the component. -
getDetails
Details of the component. This may or may not be visible depending on the implementation of the ui that displays this information. -
getGroup
The group the component is part of. All components with the same group will be gathered together. -
getVersion
Populated by KOS from the version in the KAB header
-