Package org.apache.qpid.protonj2.client
Interface Rejected
- All Superinterfaces:
DeliveryState
- All Known Implementing Classes:
ClientDeliveryState.ClientRejected
Rejected delivery state and outcome marker interface
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.apache.qpid.protonj2.client.DeliveryState
DeliveryState.Type -
Method Summary
Methods inherited from interface org.apache.qpid.protonj2.client.DeliveryState
isAccepted, isModified, isReleased, isTransactional
-
Method Details
-
getCondition
String getCondition()- Returns:
- the symbolic value that indicates the error condition
-
getDescription
String getDescription()- Returns:
- the error description that provides supplementary details
-
getInfo
- Returns:
- a Map carrying additional information about the error condition
-
getType
- Specified by:
getTypein interfaceDeliveryState- Returns:
- the type that the given
DeliveryStaterepresents.
-
isRejected
default boolean isRejected()- Specified by:
isRejectedin interfaceDeliveryState- Returns:
- true if the
DeliveryStaterepresents an Rejected outcome.
-