Enum Class EventStatus

java.lang.Object
java.lang.Enum<EventStatus>
com.iantapply.orchestra.api.EventStatus
All Implemented Interfaces:
Serializable, Comparable<EventStatus>, Constable

public enum EventStatus extends Enum<EventStatus>
Lifecycle states persisted for an event execution.
  • Enum Constant Details

    • DRAFT

      public static final EventStatus DRAFT
      Definition exists but cannot execute.
    • SCHEDULED

      public static final EventStatus SCHEDULED
      Execution is waiting for its due time.
    • STARTING

      public static final EventStatus STARTING
      First stage is being prepared.
    • RUNNING

      public static final EventStatus RUNNING
      One or more stages have run and further work may be due.
    • PAUSED

      public static final EventStatus PAUSED
      Execution is suspended until explicitly resumed.
    • COMPLETED

      public static final EventStatus COMPLETED
      Every stage completed successfully.
    • FAILED

      public static final EventStatus FAILED
      Execution stopped because a condition or action failed.
    • CANCELLED

      public static final EventStatus CANCELLED
      Execution was explicitly terminated.
  • Method Details

    • values

      public static EventStatus[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static EventStatus valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null