public enum PermissionGroup extends Enum<PermissionGroup>
Enum Constant and Description |
---|
All |
Modifier and Type | Method and Description |
---|---|
static PermissionGroup |
fromValue(String value)
Use this in place of valueOf.
|
String |
toString() |
static PermissionGroup |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PermissionGroup[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PermissionGroup All
public static PermissionGroup[] values()
for (PermissionGroup c : PermissionGroup.values()) System.out.println(c);
public static PermissionGroup 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 String toString()
toString
in class Enum<PermissionGroup>
public static PermissionGroup fromValue(String value)
value
- real valueCopyright © 2010–2020. All rights reserved.