public enum MigrationType extends Enum<MigrationType>
| Enum Constant and Description |
|---|
BASELINE
The type for the metadata baseline migration.
|
CUSTOM
The type for other migrations by custom MigrationResolvers.
|
INIT
Deprecated.
|
JDBC
The type for Jdbc java-based migrations.
|
SCHEMA
The type for the schema creation migration.
|
SPRING_JDBC
The type for Spring Jdbc java-based migrations.
|
SQL
The type for sql migrations.
|
| Modifier and Type | Method and Description |
|---|---|
static MigrationType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MigrationType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MigrationType SCHEMA
@Deprecated public static final MigrationType INIT
public static final MigrationType BASELINE
public static final MigrationType SQL
public static final MigrationType JDBC
public static final MigrationType SPRING_JDBC
public static final MigrationType CUSTOM
public static MigrationType[] values()
for (MigrationType c : MigrationType.values()) System.out.println(c);
public static MigrationType valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullCopyright © 2015. All rights reserved.