Package io.micronaut.flyway
Class ValidatePatternTypeConverter
java.lang.Object
io.micronaut.flyway.ValidatePatternTypeConverter
- All Implemented Interfaces:
io.micronaut.core.convert.TypeConverter<String,
org.flywaydb.core.api.pattern.ValidatePattern>
@Deprecated(since="7.2.0")
@Singleton
public class ValidatePatternTypeConverter
extends Object
implements io.micronaut.core.convert.TypeConverter<String,org.flywaydb.core.api.pattern.ValidatePattern>
Deprecated.
Converts String's to Flyway ValidatePattern required for reading ignore-migration-patterns parameter.
- Since:
- 5.4.1
- Author:
- Nenad Vico
- See Also:
-
ValidatePattern
-
Constructor Details
-
ValidatePatternTypeConverter
public ValidatePatternTypeConverter()Deprecated.
-
-
Method Details
-
convert
public Optional<org.flywaydb.core.api.pattern.ValidatePattern> convert(String pattern, Class<org.flywaydb.core.api.pattern.ValidatePattern> targetType, io.micronaut.core.convert.ConversionContext context) Deprecated.- Specified by:
convert
in interfaceio.micronaut.core.convert.TypeConverter<String,
org.flywaydb.core.api.pattern.ValidatePattern>
-
FlywayConfigurationProperties
that ensure thatFluentConfiguration.ignoreMigrationPatterns(String...)
will always be used to set ignore-migration-patterns, letting Flyway perform its own type conversion.