Enum Class MigrationState
- All Implemented Interfaces:
Serializable,Comparable<MigrationState>,java.lang.constant.Constable
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionThis migration has not been applied yet, and won't be applied because target is set to a lower version.The current DB state was accepted as the corresponding version without making any changes.This migration was not applied against this DB, because the schema history table was baselined with a higher version.This is a migration that has been marked as deleted.This migration failed.This migration failed.This migration succeeded.When using cherryPick, this indicates a migration that was not in the cherry picked list.This migration failed.This migration succeeded.This migration succeeded.This is a repeatable migration that has been applied, but is outdated and should be re-applied.This migration has not been applied, yet.This migration succeeded.This is a repeatable migration that is outdated and has already been superseded by a newer run. -
Method Summary
Modifier and TypeMethodDescriptionbooleanis(MigrationState.Category category) static MigrationStateReturns the enum constant of this class with the specified name.static MigrationState[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
PENDING
This migration has not been applied, yet. -
ABOVE_TARGET
This migration has not been applied yet, and won't be applied because target is set to a lower version. -
BELOW_BASELINE
This migration was not applied against this DB, because the schema history table was baselined with a higher version. -
BASELINE
The current DB state was accepted as the corresponding version without making any changes. -
IGNORED
When using cherryPick, this indicates a migration that was not in the cherry picked list. When not using cherryPick, this usually indicates a problem: The migration was ignored because a higher version has already been applied. -
MISSING_SUCCESS
This migration succeeded.This migration was applied against this DB, but it is not available locally. This usually results from multiple older migration files being consolidated into a single one.
-
MISSING_FAILED
This migration failed.This migration was applied against this DB, but it is not available locally. This usually results from multiple older migration files being consolidated into a single one.
-
SUCCESS
This migration succeeded. -
FAILED
This migration failed. -
OUT_OF_ORDER
This migration succeeded.This migration succeeded, but it was applied out of order. Rerunning the entire migration history might produce different results!
-
FUTURE_SUCCESS
This migration succeeded.This migration has been applied against the DB, but it is not available locally. Its version is higher than the highest version available locally. It was most likely successfully installed by a future version of this deployable.
-
FUTURE_FAILED
This migration failed.This migration has been applied against the DB, but it is not available locally. Its version is higher than the highest version available locally. It most likely failed during the installation of a future version of this deployable.
-
OUTDATED
This is a repeatable migration that has been applied, but is outdated and should be re-applied. -
SUPERSEDED
This is a repeatable migration that is outdated and has already been superseded by a newer run. -
DELETED
This is a migration that has been marked as deleted.
-
-
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
-
getDisplayName
-
is
-