public static enum CommandResult.Status extends java.lang.Enum<CommandResult.Status>
| Modifier and Type | Method and Description |
|---|---|
static CommandResult.Status |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static CommandResult.Status[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CommandResult.Status OK
public static final CommandResult.Status NO
public static final CommandResult.Status BAD
public static CommandResult.Status[] values()
for (CommandResult.Status c : CommandResult.Status.values()) System.out.println(c);
public static CommandResult.Status valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullCopyright © 2024. All Rights Reserved.