public enum AmqpCapabilities extends java.lang.Enum<AmqpCapabilities>
| Enum Constant | Description |
|---|---|
RECEIVE_ONLY |
|
SEND_AND_RECEIVE |
|
SEND_ONLY |
| Modifier and Type | Method | Description |
|---|---|---|
int |
value() |
|
static AmqpCapabilities |
valueOf(int value) |
Returns the enum constant of this type with the specified name.
|
static AmqpCapabilities |
valueOf(java.lang.String name) |
Returns the enum constant of this type with the specified name.
|
static AmqpCapabilities[] |
values() |
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AmqpCapabilities SEND_ONLY
public static final AmqpCapabilities RECEIVE_ONLY
public static final AmqpCapabilities SEND_AND_RECEIVE
public static AmqpCapabilities[] values()
for (AmqpCapabilities c : AmqpCapabilities.values()) System.out.println(c);
public static AmqpCapabilities valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullpublic int value()
public static AmqpCapabilities valueOf(int value)
value - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullCopyright © 2020. All rights reserved.