public enum PluginCommandType extends Enum<PluginCommandType>
| Modifier and Type | Method and Description |
|---|---|
String |
toPluginCommandName(String command) |
static PluginCommandType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PluginCommandType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PluginCommandType unknown
public static final PluginCommandType loader
public static final PluginCommandType command
public static final PluginCommandType server
public static PluginCommandType[] values()
for (PluginCommandType c : PluginCommandType.values()) System.out.println(c);
public static PluginCommandType 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 © 2000-2024 Sualeh Fatehi. All rights reserved.