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.
This converter is no longer necessary in conjunction with enhancements to FlywayConfigurationProperties that ensure that FluentConfiguration.ignoreMigrationPatterns(String...) will always be used to set ignore-migration-patterns, letting Flyway perform its own type conversion.
Converts String's to Flyway ValidatePattern required for reading ignore-migration-patterns parameter.
Since:
5.4.1
Author:
Nenad Vico
See Also:
  • ValidatePattern
  • Constructor Summary

    Constructors
    Constructor
    Description
    Deprecated.
     
  • Method Summary

    Modifier and Type
    Method
    Description
    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.
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface io.micronaut.core.convert.TypeConverter

    convert
  • 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 interface io.micronaut.core.convert.TypeConverter<String,org.flywaydb.core.api.pattern.ValidatePattern>