Enum StatusEnum

java.lang.Object
java.lang.Enum<StatusEnum>
ca.uhn.fhir.batch2.model.StatusEnum
All Implemented Interfaces:
Serializable, Comparable<StatusEnum>

public enum StatusEnum extends Enum<StatusEnum>
Status of a Batch2 Job Instance. The initial state is QUEUED. The terminal states are COMPLETED, CANCELLED, or FAILED.
  • Enum Constant Details

    • QUEUED

      public static final StatusEnum QUEUED
      Task is waiting to execute and should begin with no intervention required.
    • IN_PROGRESS

      public static final StatusEnum IN_PROGRESS
      Task is current executing
    • FINALIZE

      public static final StatusEnum FINALIZE
      For reduction steps
    • COMPLETED

      public static final StatusEnum COMPLETED
      Task completed successfully
    • ERRORED

      @Deprecated(since="6.6") public static final StatusEnum ERRORED
      Deprecated.
      this is basically a synonym for IN_PROGRESS - display should use the presence of an error message on the instance to indicate that there has been a transient error.
      Chunk execution resulted in an error but the error may be transient (or transient status is unknown). The job may still complete successfully.
    • FAILED

      public static final StatusEnum FAILED
      Task has failed and is known to be unrecoverable. There is no reason to believe that retrying will result in a different outcome.
    • CANCELLED

      public static final StatusEnum CANCELLED
      Task has been cancelled by the user.
  • Method Details