Package com.azure.core.amqp.models
Class DeliveryState
- All Implemented Interfaces:
ExpandableEnum<String>
States for a message delivery.
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final DeliveryStateIndicates successful processing at the receiver.static final DeliveryStateindicates that the message was modified, but not processed.static final DeliveryStateindicates partial message data seen by the receiver as well as the starting point for a resumed transfer.static final DeliveryStateIndicates an invalid and unprocessable message.static final DeliveryStateIndicates that the message was not (and will not be) processed.static final DeliveryStateIndicates that this delivery is part of a transaction. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic DeliveryStatefromString(String name) Gets the corresponding delivery state from its string representation.static Collection<DeliveryState>values()Gets all the current delivery states.Methods inherited from class com.azure.core.util.ExpandableStringEnum
equals, fromString, getValue, hashCode, toString, values
-
Field Details
-
ACCEPTED
Indicates successful processing at the receiver. -
REJECTED
Indicates an invalid and unprocessable message. -
RELEASED
Indicates that the message was not (and will not be) processed. -
MODIFIED
indicates that the message was modified, but not processed. -
RECEIVED
indicates partial message data seen by the receiver as well as the starting point for a resumed transfer. -
TRANSACTIONAL
Indicates that this delivery is part of a transaction.
-
-
Constructor Details
-
DeliveryState
Deprecated.Use one of the constants or theExpandableStringEnum.fromString(String, Class)factory method.Creates a new instance ofDeliveryStatewithout aExpandableStringEnum.toString()value.This constructor shouldn't be called as it will produce a
DeliveryStatewhich doesn't have a String enum value.
-
-
Method Details
-
fromString
Gets the corresponding delivery state from its string representation.- Parameters:
name- The delivery state to convert.- Returns:
- The corresponding delivery state.
-
values
Gets all the current delivery states.- Returns:
- Gets the current delivery states.
-
ExpandableStringEnum.fromString(String, Class)factory method.