public enum ExchangeState extends java.lang.Enum<ExchangeState>
| Enum Constant and Description |
|---|
CREATED
Criado apenas, (estado inicial)
|
ERROR
Em estado de erro
|
FINISHED
Terminado com sucesso
|
INTERRUPTED
Interrompido
|
PAUSED
Em pausa
|
QUEUED
Na fila de transferência do programa
|
REMOVED
Estado de retirado da lista de programa (seja por término bem sucedido ou
não)
|
RUNNING
Em andamento
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getDescription()
Consulta o texto da descrição.
|
javax.swing.Icon |
getImage()
Obtem a imagem que representa o estado.
|
static ExchangeState |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ExchangeState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ExchangeState CREATED
public static final ExchangeState QUEUED
public static final ExchangeState RUNNING
public static final ExchangeState FINISHED
public static final ExchangeState INTERRUPTED
public static final ExchangeState PAUSED
public static final ExchangeState ERROR
public static final ExchangeState REMOVED
public static ExchangeState[] values()
for (ExchangeState c : ExchangeState.values()) System.out.println(c);
public static ExchangeState 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 nullpublic java.lang.String getDescription()
public javax.swing.Icon getImage()
Copyright © 2015. All Rights Reserved.