public static enum CommandEvent.EventType extends java.lang.Enum<CommandEvent.EventType>
| Enum Constant and Description |
|---|
COMPLETED
Tipo de evento que indica que um comando terminou (mas não se sabe como).
|
ERROR
Tipo de evento que indica que um comando terminou com erro.
|
INIT_FAILURE
Tipo de evento que indica que um comando nao foi iniciado.
|
KILLED
Tipo de evento que indica que um comando foi abortado.
|
LOST
Tipo de evento que indica que um comando foi perdido.
|
NO_CODE
Tipo de evento que indica que um comando terminou, mas não foi possível
ler o código de retorno, para determinar se foi bem sucedido.
|
SUCCESS
Tipo de evento que indica que um comando terminou com sucesso.
|
| Modifier and Type | Method and Description |
|---|---|
static CommandEvent.EventType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static CommandEvent.EventType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CommandEvent.EventType LOST
public static final CommandEvent.EventType KILLED
public static final CommandEvent.EventType INIT_FAILURE
public static final CommandEvent.EventType COMPLETED
public static final CommandEvent.EventType ERROR
public static final CommandEvent.EventType SUCCESS
public static final CommandEvent.EventType NO_CODE
public static CommandEvent.EventType[] values()
for (CommandEvent.EventType c : CommandEvent.EventType.values()) System.out.println(c);
public static CommandEvent.EventType 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 © 2016. All Rights Reserved.