public static enum CommandUpdatedEvent.Type extends Enum<CommandUpdatedEvent.Type>
| Enum Constant and Description |
|---|
created
Comando criado.
|
end
Comando terminou (não se sabe como).
|
error
Comando terminou (com erro).
|
exception
Exceção lançada pela ação de atualização de comandos.
|
failed
Comando teve falha de inicialização.
|
killed
Comando cancelado.
|
lost
Comando perdido.
O SGA foi reiniciado e no meio tempo o comando terminou de forma não usual. |
no_code
Comando terminou (não foi possível obter o código de saída).
|
removed
Comando removido.
|
success
Comando terminou (com sucesso).
|
system_failure
Falha tentando recuperar as informações do comando.
|
updated
Comando atualizado.
|
| Modifier and Type | Method and Description |
|---|---|
static CommandUpdatedEvent.Type |
valueOf(csbase.logic.CommandFinalizationType finalizationType)
Retorna o tipo do evento a partir do tipo de finalização do comando.
|
static CommandUpdatedEvent.Type |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CommandUpdatedEvent.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CommandUpdatedEvent.Type exception
public static final CommandUpdatedEvent.Type created
public static final CommandUpdatedEvent.Type updated
public static final CommandUpdatedEvent.Type system_failure
public static final CommandUpdatedEvent.Type end
public static final CommandUpdatedEvent.Type error
public static final CommandUpdatedEvent.Type success
public static final CommandUpdatedEvent.Type failed
public static final CommandUpdatedEvent.Type killed
public static final CommandUpdatedEvent.Type lost
public static final CommandUpdatedEvent.Type removed
public static final CommandUpdatedEvent.Type no_code
public static CommandUpdatedEvent.Type[] values()
for (CommandUpdatedEvent.Type c : CommandUpdatedEvent.Type.values()) System.out.println(c);
public static CommandUpdatedEvent.Type 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 static CommandUpdatedEvent.Type valueOf(csbase.logic.CommandFinalizationType finalizationType)
finalizationType - O tipo de finalização do comando.Copyright © 2018. All rights reserved.