Package org.apache.qpid.server.consumer
Enum ConsumerOption
- java.lang.Object
-
- java.lang.Enum<ConsumerOption>
-
- org.apache.qpid.server.consumer.ConsumerOption
-
- All Implemented Interfaces:
Serializable
,Comparable<ConsumerOption>
public enum ConsumerOption extends Enum<ConsumerOption>
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ConsumerOption
valueOf(String name)
Returns the enum constant of this type with the specified name.static ConsumerOption[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ACQUIRES
public static final ConsumerOption ACQUIRES
-
SEES_REQUEUES
public static final ConsumerOption SEES_REQUEUES
-
TRANSIENT
public static final ConsumerOption TRANSIENT
-
EXCLUSIVE
public static final ConsumerOption EXCLUSIVE
-
NO_LOCAL
public static final ConsumerOption NO_LOCAL
-
DURABLE
public static final ConsumerOption DURABLE
-
-
Method Detail
-
values
public static ConsumerOption[] 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 (ConsumerOption c : ConsumerOption.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ConsumerOption 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 nameNullPointerException
- if the argument is null
-
-