public static enum Setting.Role extends Enum<Setting.Role>
Enum Constant and Description |
---|
Coop |
Member |
Operator |
Owner |
Visitor |
Modifier and Type | Method and Description |
---|---|
static Setting.Role |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Setting.Role[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Setting.Role Coop
public static final Setting.Role Visitor
public static final Setting.Role Member
public static final Setting.Role Operator
public static final Setting.Role Owner
public static Setting.Role[] values()
for (Setting.Role c : Setting.Role.values()) System.out.println(c);
public static Setting.Role 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 © 2018. All rights reserved.