org.apache.qpid.proton.amqp.messaging
Enum TerminusDurability
java.lang.Object
java.lang.Enum<TerminusDurability>
org.apache.qpid.proton.amqp.messaging.TerminusDurability
- All Implemented Interfaces:
- Serializable, Comparable<TerminusDurability>
public enum TerminusDurability
- extends Enum<TerminusDurability>
NONE
public static final TerminusDurability NONE
CONFIGURATION
public static final TerminusDurability CONFIGURATION
UNSETTLED_STATE
public static final TerminusDurability UNSETTLED_STATE
values
public static TerminusDurability[] 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 (TerminusDurability c : TerminusDurability.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static TerminusDurability valueOf(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:
IllegalArgumentException - if this enum type has no constant
with the specified name
NullPointerException - if the argument is null
getValue
public UnsignedInteger getValue()
get
public static TerminusDurability get(UnsignedInteger value)
Copyright © 2013 The Apache Software Foundation. All Rights Reserved.