Class OTAArtifact
java.lang.Object
com.tccc.kos.core.primary.service.ota.OTAArtifact
An artifact that the OTA service needs to download.
- Version:
- 2024-04-22
-
Nested Class Summary
Nested Classes -
Constructor Summary
ConstructorsConstructorDescriptionOTAArtifact
(OTAService service, String id, BaseManifestArtifact artifact, String error) Constructor for a an artifact to download -
Method Summary
Modifier and TypeMethodDescriptionReturn information about the artifact to download.getError()
Return the error for the artifact if it is invalid.getKabId()
Return the id of the kab to download.Return all the states associated with this request.Return the status of the artifactboolean
isDone()
Return true if the artifact is done.
-
Constructor Details
-
OTAArtifact
Constructor for a an artifact to download
-
-
Method Details
-
getKabId
Return the id of the kab to download. -
getArtifactInfo
Return information about the artifact to download. -
getError
Return the error for the artifact if it is invalid. -
isDone
public boolean isDone()Return true if the artifact is done. If true and error is set, the artifact is unusable. -
getStatus
Return the status of the artifact -
getRequests
Return all the states associated with this request.
-