Interface Rejected

All Superinterfaces:
DeliveryState
All Known Implementing Classes:
ClientDeliveryState.ClientRejected

public interface Rejected extends DeliveryState
Rejected delivery state and outcome marker interface
  • 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

      Map<String,Object> getInfo()
      Returns:
      a Map carrying additional information about the error condition
    • getType

      default DeliveryState.Type getType()
      Specified by:
      getType in interface DeliveryState
      Returns:
      the type that the given DeliveryState represents.
    • isRejected

      default boolean isRejected()
      Specified by:
      isRejected in interface DeliveryState
      Returns:
      true if the DeliveryState represents an Rejected outcome.