Enum Class ResetStatus
- All Implemented Interfaces:
Serializable, Comparable<ResetStatus>, Constable
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).
-
Nested Class Summary
Nested classes/interfaces inherited from class Enum
Enum.EnumDesc<E> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionReset em andamento (no máximo um por vez — índice único parcial).Falhou — vererro_mensagem.Criado; ainda não começou.Concluído com sucesso. -
Method Summary
Modifier and TypeMethodDescriptionstatic ResetStatusReturns the enum constant of this class with the specified name.static ResetStatus[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
PENDENTE
Criado; ainda não começou. -
EM_ANDAMENTO
Reset em andamento (no máximo um por vez — índice único parcial). -
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
-