Enum Class BaselineMigrationType
java.lang.Object
java.lang.Enum<BaselineMigrationType>
org.flywaydb.core.api.migration.baseline.BaselineMigrationType
- All Implemented Interfaces:
Serializable
,Comparable<BaselineMigrationType>
,Constable
,org.flywaydb.core.extensibility.MigrationType
public enum BaselineMigrationType
extends Enum<BaselineMigrationType>
implements org.flywaydb.core.extensibility.MigrationType
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionJDBC Java-based baseline migrations.SQL baseline migrations. -
Method Summary
Modifier and TypeMethodDescriptionstatic org.flywaydb.core.extensibility.MigrationType
fromString
(String migrationType) boolean
boolean
boolean
isUndo()
static BaselineMigrationType
Returns the enum constant of this class with the specified name.static BaselineMigrationType[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.Methods inherited from class java.lang.Enum
clone, compareTo, describeConstable, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
Methods inherited from interface org.flywaydb.core.extensibility.MigrationType
name
-
Enum Constant Details
-
JDBC_BASELINE
JDBC Java-based baseline migrations. -
SQL_BASELINE
SQL baseline migrations.
-
-
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
-
fromString
-
isUndo
public boolean isUndo()- Specified by:
isUndo
in interfaceorg.flywaydb.core.extensibility.MigrationType
-
isSynthetic
public boolean isSynthetic()- Specified by:
isSynthetic
in interfaceorg.flywaydb.core.extensibility.MigrationType
-
isBaseline
public boolean isBaseline()- Specified by:
isBaseline
in interfaceorg.flywaydb.core.extensibility.MigrationType
-