Enum Class ResetStatus

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

public enum ResetStatus extends Enum<ResetStatus>
Estados de uma execução de reset da replicação (xls_resetar_powersync.status).

Persistido como texto (o name() de cada constante) pelo Micronaut Data; casa com o CHECK chk_resetar_powersync_status da coluna VARCHAR(20).

  • Enum Constant Details

    • PENDENTE

      public static final ResetStatus PENDENTE
      Criado; ainda não começou.
    • EM_ANDAMENTO

      public static final ResetStatus EM_ANDAMENTO
      Reset em andamento (no máximo um por vez — índice único parcial).
    • SUCESSO

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

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

    • values

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