public enum AccessRights extends Enum<AccessRights>
| Enum Constant and Description |
|---|
LISTEN
Confers the right to listen (relay) or receive (queue, subscriptions) and all related message handling.
|
MANAGE
Confers the right to manage the topology of the namespace, including creating and deleting entities.
|
| Modifier and Type | Method and Description |
|---|---|
static AccessRights |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AccessRights[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AccessRights MANAGE
public static final AccessRights LISTEN
public static AccessRights[] values()
for (AccessRights c : AccessRights.values()) System.out.println(c);
public static AccessRights 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 © 2022. All rights reserved.