Enum Class SendMessageStatus

java.lang.Object
java.lang.Enum<SendMessageStatus>
com.kingsrook.qqq.backend.core.model.actions.messaging.SendMessageStatus
All Implemented Interfaces:
Serializable, Comparable<SendMessageStatus>, Constable

public enum SendMessageStatus extends Enum<SendMessageStatus>
Outcome of a provider accepting or declining a message.
  • Enum Constant Details

    • SENT

      public static final SendMessageStatus SENT
      Handed to the transport synchronously; does not guarantee inbox delivery.
    • QUEUED

      public static final SendMessageStatus QUEUED
      Accepted by an asynchronous provider (outbox).
    • DUPLICATE

      public static final SendMessageStatus DUPLICATE
      Idempotency key already used; messageId identifies the earlier message.
    • SUPPRESSED

      public static final SendMessageStatus SUPPRESSED
      Not sent; reasons explain why the provider suppressed the message.
    • REFUSED

      public static final SendMessageStatus REFUSED
      Not sent; reasons explain why the provider refused the message.
  • Method Details

    • values

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