Package com.azure.core.amqp.models
Class DeliveryState
States for a message delivery.
- See Also:
-
Field Summary
Modifier and TypeFieldDescriptionstatic final DeliveryState
Indicates successful processing at the receiver.static final DeliveryState
indicates that the message was modified, but not processed.static final DeliveryState
indicates partial message data seen by the receiver as well as the starting point for a resumed transfer.static final DeliveryState
Indicates an invalid and unprocessable message.static final DeliveryState
Indicates that the message was not (and will not be) processed.static final DeliveryState
Indicates that this delivery is part of a transaction. -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic DeliveryState
fromString
(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.
-