public static enum ChangePositionCommand.Status extends Enum<ChangePositionCommand.Status>
Enum Constant and Description |
---|
FINISHED
Indica que o comando foi finalizado.
|
REJECTED
Indica que o comando foi rejeitado, tendo ocorrido alguma falha no processo no agendamento.
|
SCHEDULED
Indica que o comando foi agendado.
|
Modifier and Type | Method and Description |
---|---|
boolean |
isFinalState()
Indica se é o estado final.
|
static ChangePositionCommand.Status |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ChangePositionCommand.Status[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ChangePositionCommand.Status SCHEDULED
public static final ChangePositionCommand.Status REJECTED
public static final ChangePositionCommand.Status FINISHED
Position
. Estado final.public static ChangePositionCommand.Status[] values()
for (ChangePositionCommand.Status c : ChangePositionCommand.Status.values()) System.out.println(c);
public static ChangePositionCommand.Status 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 isFinalState()
true
indica que a transição de status terminou e
não mudará novamente.