Enum Class BatchItemStatus

java.lang.Object
java.lang.Enum<BatchItemStatus>
io.helidon.messaging.BatchItemStatus
All Implemented Interfaces:
Serializable, Comparable<BatchItemStatus>, Constable

public enum BatchItemStatus extends Enum<BatchItemStatus>
Outcome of one message in a failed batch delivery.
  • Enum Constant Details

    • SUCCEEDED

      public static final BatchItemStatus SUCCEEDED
      The message reached the operation's success point.
    • FAILED

      public static final BatchItemStatus FAILED
      The message is known not to have reached the operation's success point.
    • NOT_ATTEMPTED

      public static final BatchItemStatus NOT_ATTEMPTED
      The message was not attempted.
    • INDETERMINATE

      public static final BatchItemStatus INDETERMINATE
      Completion of the message's full operation cannot be proven. This also covers a message that completed only some required outputs. Retrying can duplicate delivery to an output that already succeeded.
  • Method Details

    • values

      public static BatchItemStatus[] 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 BatchItemStatus 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