# Interface CSCertificateTaskStatusType

All Known Implementing Classes:
  `CSCertificateTaskStatusType.CSCertificateTaskCompleted, CSCertificateTaskStatusType.CSCertificateTaskFailedButCanBeRetried, CSCertificateTaskStatusType.CSCertificateTaskFailedPermanently, CSCertificateTaskStatusType.CSCertificateTaskInProgress`

public sealed interface CSCertificateTaskStatusType permits CSCertificateTaskStatusType.CSCertificateTaskFailedPermanently, CSCertificateTaskStatusType.CSCertificateTaskFailedButCanBeRetried, CSCertificateTaskStatusType.CSCertificateTaskInProgress, CSCertificateTaskStatusType.CSCertificateTaskCompleted
The status of a task execution.

- ## Nested Class Summary

  Nested Classes
  Modifier and Type
  Interface
  Description
  `static final record`
  `CSCertificateTaskStatusType.CSCertificateTaskCompleted`
  The task is completed.
  `static final record`
  `CSCertificateTaskStatusType.CSCertificateTaskFailedButCanBeRetried`
  The task failed, but might succeed if it is retried.
  `static final record`
  `CSCertificateTaskStatusType.CSCertificateTaskFailedPermanently`
  The task failed permanently and retrying will not result in success.
  `static final record`
  `CSCertificateTaskStatusType.CSCertificateTaskInProgress`
  The task is in progress and should be retried.

- ## Method Summary

  Modifier and Type
  Method
  Description
  `OptionalLong`
  `delayRequired()`
  `boolean`
  `isFailure()`

- ## Method Details

  - ### isFailure

    boolean isFailure()
    Returns:
      The status is a failure

  - ### delayRequired

    OptionalLong delayRequired()
    Returns:
      The delay required until the next time this task is retried, or the next task is executed