Class InstallViewDeviceManifest
java.lang.Object
com.tccc.kos.commons.manifest.BaseDeviceManifest
com.tccc.kos.commons.manifest.install.InstallViewDeviceManifest
- All Implemented Interfaces:
PrimaryManifestInstallView
public class InstallViewDeviceManifest
extends BaseDeviceManifest
implements PrimaryManifestInstallView
Base class for all future
DeviceManifest
implementations
which implements the @{code PrimaryManifestInstallView} interface
which is sufficient for a primary node to identify any missing
artifacts and install them, even if it doesn't understand the
actual manifest format.
This was introduced in manifest V1 and should be used for all future manifest formats to ensure the ability to install newer manifests from older versions of kOS.
- Version:
- 2023-10-01
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturn thedeviceType
this manifest is compatible with.getKabs()
Return the list of kabs required for the entire device.Return the list of layers required for the primary node only.void
setDeviceType
(String deviceType) void
setKabs
(List<BaseManifestArtifact> kabs) void
setLayers
(List<BaseManifestArtifact> layers) Methods inherited from class com.tccc.kos.commons.manifest.BaseDeviceManifest
getVersion, setVersion
-
Constructor Details
-
InstallViewDeviceManifest
public InstallViewDeviceManifest()
-
-
Method Details
-
getDeviceType
Description copied from interface:PrimaryManifestInstallView
Return thedeviceType
this manifest is compatible with.- Specified by:
getDeviceType
in interfacePrimaryManifestInstallView
-
getLayers
Description copied from interface:PrimaryManifestInstallView
Return the list of layers required for the primary node only. This is a subset ofgetKabs()
and indicates to the installer which layers must be installed on the primary node to be properly updated. This must not include layers for other nodes in the device.- Specified by:
getLayers
in interfacePrimaryManifestInstallView
-
getKabs
Description copied from interface:PrimaryManifestInstallView
Return the list of kabs required for the entire device. This should include all kabs required by all nodes in the device. This should include all the kabs specified ingetLayers()
along with any other kabs used on the primary node and any kabs / layers required by any other node in the device.This is the list of kabs that must be available on the primary node in order to guarantee that the device can be updated.
- Specified by:
getKabs
in interfacePrimaryManifestInstallView
-
setDeviceType
-
setLayers
-
setKabs
-