Enum SenderSettleMode
- java.lang.Object
-
- java.lang.Enum<SenderSettleMode>
-
- org.apache.qpid.proton.amqp.transport.SenderSettleMode
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<SenderSettleMode>
public enum SenderSettleMode extends java.lang.Enum<SenderSettleMode>
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description UnsignedByte
getValue()
static SenderSettleMode
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static SenderSettleMode
valueOf(UnsignedByte value)
Returns the enum constant of this type with the specified name.static SenderSettleMode[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
UNSETTLED
public static final SenderSettleMode UNSETTLED
-
SETTLED
public static final SenderSettleMode SETTLED
-
MIXED
public static final SenderSettleMode MIXED
-
-
Method Detail
-
values
public static SenderSettleMode[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (SenderSettleMode c : SenderSettleMode.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static SenderSettleMode valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
valueOf
public static SenderSettleMode valueOf(UnsignedByte value)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
value
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
getValue
public UnsignedByte getValue()
-
-