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
Outcome of a provider accepting or declining a message.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionIdempotency key already used; messageId identifies the earlier message.Accepted by an asynchronous provider (outbox).Not sent; reasons explain why the provider refused the message.Handed to the transport synchronously; does not guarantee inbox delivery.Not sent; reasons explain why the provider suppressed the message. -
Method Summary
Modifier and TypeMethodDescriptionstatic SendMessageStatusReturns the enum constant of this class with the specified name.static SendMessageStatus[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
SENT
Handed to the transport synchronously; does not guarantee inbox delivery. -
QUEUED
Accepted by an asynchronous provider (outbox). -
DUPLICATE
Idempotency key already used; messageId identifies the earlier message. -
SUPPRESSED
Not sent; reasons explain why the provider suppressed the message. -
REFUSED
Not sent; reasons explain why the provider refused the message.
-
-
Method Details
-
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
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 nameNullPointerException- if the argument is null
-