Package com.azure.core.amqp.models
Class DeliveryState
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, 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
public DeliveryState()
-
-
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.
-