public enum AmqpRole extends java.lang.Enum<AmqpRole>
| Modifier and Type | Method | Description |
|---|---|---|
int |
value() |
|
static AmqpRole |
valueOf(int value) |
Returns the enum constant of this type with the specified name.
|
static AmqpRole |
valueOf(java.lang.String name) |
Returns the enum constant of this type with the specified name.
|
static AmqpRole[] |
values() |
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AmqpRole SENDER
public static final AmqpRole RECEIVER
public static AmqpRole[] values()
for (AmqpRole c : AmqpRole.values()) System.out.println(c);
public static AmqpRole 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 AmqpRole 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.