Enum Class ProcessamentoStatus
- All Implemented Interfaces:
Serializable, Comparable<ProcessamentoStatus>, Constable
Estados de um processamento de XLS (
xls_processamento.status).
Persistido como texto (o name() de cada constante) pelo Micronaut Data —
os valores batem com os literais que as migrations e o DEFAULT 'PENDENTE'
gravam na coluna VARCHAR(20).
-
Nested Class Summary
Nested classes/interfaces inherited from class Enum
Enum.EnumDesc<E> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionFalhou — vererro_mensagem.Recebido e enfileirado; ainda não processado.Em processamento (job assíncrono iniciou).Concluído com sucesso. -
Method Summary
Modifier and TypeMethodDescriptionstatic ProcessamentoStatusReturns the enum constant of this class with the specified name.static ProcessamentoStatus[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
PENDENTE
Recebido e enfileirado; ainda não processado. -
PROCESSANDO
Em processamento (job assíncrono iniciou). -
SUCESSO
Concluído com sucesso. -
ERRO
Falhou — vererro_mensagem.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-