public static enum ConsumerImpl.Option extends Enum<ConsumerImpl.Option>
Enum Constant and Description |
---|
ACQUIRES |
DURABLE |
EXCLUSIVE |
NO_LOCAL |
SEES_REQUEUES |
TRANSIENT |
Modifier and Type | Method and Description |
---|---|
static ConsumerImpl.Option |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ConsumerImpl.Option[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ConsumerImpl.Option ACQUIRES
public static final ConsumerImpl.Option SEES_REQUEUES
public static final ConsumerImpl.Option TRANSIENT
public static final ConsumerImpl.Option EXCLUSIVE
public static final ConsumerImpl.Option NO_LOCAL
public static final ConsumerImpl.Option DURABLE
public static ConsumerImpl.Option[] values()
for (ConsumerImpl.Option c : ConsumerImpl.Option.values()) System.out.println(c);
public static ConsumerImpl.Option valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullCopyright © 2006–2016 The Apache Software Foundation. All rights reserved.