Enum Class ProcessamentoStatus

java.lang.Object
java.lang.Enum<ProcessamentoStatus>
br.com.vantroba.bi.transporte.processamento.ProcessamentoStatus
All Implemented Interfaces:
Serializable, Comparable<ProcessamentoStatus>, Constable

public enum ProcessamentoStatus extends Enum<ProcessamentoStatus>
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).

  • Enum Constant Details

    • PENDENTE

      public static final ProcessamentoStatus PENDENTE
      Recebido e enfileirado; ainda não processado.
    • PROCESSANDO

      public static final ProcessamentoStatus PROCESSANDO
      Em processamento (job assíncrono iniciou).
    • SUCESSO

      public static final ProcessamentoStatus SUCESSO
      Concluído com sucesso.
    • ERRO

      public static final ProcessamentoStatus ERRO
      Falhou — ver erro_mensagem.
  • Method Details

    • values

      public static ProcessamentoStatus[] 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

      public static ProcessamentoStatus valueOf(String name)
      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 name
      NullPointerException - if the argument is null