public enum CommandState extends Enum<CommandState>
| Modifier and Type | Method and Description |
|---|---|
boolean |
isError() |
boolean |
isFinished() |
static CommandState |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CommandState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CommandState Unknown
public static final CommandState Done
public static final CommandState HasError
public static final CommandState Success
public static CommandState[] values()
for (CommandState c : CommandState.values()) System.out.println(c);
public static CommandState 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 boolean isFinished()
public boolean isError()
Copyright © 2016–2018. All rights reserved.