Class OTAArtifact

java.lang.Object
com.tccc.kos.core.primary.service.ota.OTAArtifact

public class OTAArtifact extends Object
An artifact that the OTA service needs to download.
Version:
2024-04-22
  • Constructor Details

  • Method Details

    • getKabId

      public String getKabId()
      Return the id of the kab to download.
    • getArtifactInfo

      public BaseManifestArtifact getArtifactInfo()
      Return information about the artifact to download.
    • getError

      public String 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

      public OTAArtifact.Status getStatus()
      Return the status of the artifact
    • getRequests

      public Collection<OTADownloadRequest> getRequests()
      Return all the states associated with this request.