public enum AccessRights extends Enum<AccessRights>
| Enum Constant and Description |
|---|
LISTEN
Enum value Listen.
|
MANAGE
Enum value Manage.
|
SEND
Enum value Send.
|
| Modifier and Type | Method and Description |
|---|---|
static AccessRights |
fromString(String value)
Parses a serialized value to a AccessRights instance.
|
String |
toString() |
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 SEND
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 nullpublic static AccessRights fromString(String value)
value - the serialized value to parse.public String toString()
toString in class Enum<AccessRights>Copyright © 2019. All rights reserved.