public enum CommandPermission extends Enum<CommandPermission>
| Enum Constant and Description |
|---|
ADMIN |
AUTOMATION |
HOST |
NORMAL |
OPERATOR |
| Modifier and Type | Method and Description |
|---|---|
static CommandPermission |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CommandPermission[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CommandPermission NORMAL
public static final CommandPermission OPERATOR
public static final CommandPermission HOST
public static final CommandPermission AUTOMATION
public static final CommandPermission ADMIN
public static CommandPermission[] values()
for (CommandPermission c : CommandPermission.values()) System.out.println(c);
public static CommandPermission 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–2022 NukkitX. All rights reserved.