Interface MigrationFeature

All Superinterfaces:
io.micronaut.core.naming.Described, Feature, io.micronaut.core.naming.Named, OneOfFeature, io.micronaut.core.order.Ordered
All Known Implementing Classes:
Flyway, Liquibase

public interface MigrationFeature extends OneOfFeature
  • Method Details

    • getFeatureClass

      default Class<?> getFeatureClass()
      Specified by:
      getFeatureClass in interface OneOfFeature
    • supports

      default boolean supports(ApplicationType applicationType)
      Description copied from interface: Feature
      This method must be implemented to ensure it is only selectable for the desired application types. This method is not used for determining if a default feature should be applied.
      Specified by:
      supports in interface Feature
      Parameters:
      applicationType - The application type
      Returns:
      True if the feature can be selected by the user
    • getCategory

      default String getCategory()
      Specified by:
      getCategory in interface Feature
      Returns:
      The Category to which the feature belongs to.