Package ca.uhn.fhir.jpa.migrate.taskdef
Enum MigrationTaskExecutionResultEnum
java.lang.Object
java.lang.Enum<MigrationTaskExecutionResultEnum>
ca.uhn.fhir.jpa.migrate.taskdef.MigrationTaskExecutionResultEnum
- All Implemented Interfaces:
Serializable,Comparable<MigrationTaskExecutionResultEnum>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionThe migration was appliedThe migration failed, but the task has the FAILURE_ALLOWED flag set.This migration task does not apply to this databaseThis migration task had precondition criteria (expressed as SQL) that was not metWas either skipped via the `skip-versions` flag or the migration task was stubbed -
Method Summary
Modifier and TypeMethodDescriptionReturns the enum constant of this type with the specified name.static MigrationTaskExecutionResultEnum[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
NOT_APPLIED_SKIPPED
Was either skipped via the `skip-versions` flag or the migration task was stubbed -
NOT_APPLIED_NOT_FOR_THIS_DATABASE
This migration task does not apply to this database -
NOT_APPLIED_PRECONDITION_NOT_MET
This migration task had precondition criteria (expressed as SQL) that was not met -
NOT_APPLIED_ALLOWED_FAILURE
The migration failed, but the task has the FAILURE_ALLOWED flag set. -
APPLIED
The migration was applied
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified nameNullPointerException- if the argument is null
-