Enum Class ReceiptPolicy.Policy

java.lang.Object
java.lang.Enum<ReceiptPolicy.Policy>
org.schlunzis.zis.stomp.client.ReceiptPolicy.Policy
All Implemented Interfaces:
Serializable, Comparable<ReceiptPolicy.Policy>, Constable
Enclosing class:
ReceiptPolicy

public static enum ReceiptPolicy.Policy extends Enum<ReceiptPolicy.Policy>
Policies for requesting receipts from the STOMP server.
Since:
1.0.0
  • Enum Constant Details

    • FOR_SEND

      public static final ReceiptPolicy.Policy FOR_SEND
      Request receipt for SEND commands.
    • FOR_SUBSCRIBE

      public static final ReceiptPolicy.Policy FOR_SUBSCRIBE
      Request receipt for SUBSCRIBE commands.
    • FOR_UNSUBSCRIBE

      public static final ReceiptPolicy.Policy FOR_UNSUBSCRIBE
      Request receipt for UNSUBSCRIBE commands.
    • FOR_DISCONNECT

      public static final ReceiptPolicy.Policy FOR_DISCONNECT
      Request receipt for DISCONNECT commands.
  • Method Details

    • values

      public static ReceiptPolicy.Policy[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static ReceiptPolicy.Policy valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null