Interface FlywayConnectionDetails

All Superinterfaces:
ConnectionDetails

public interface FlywayConnectionDetails extends ConnectionDetails
Details required for Flyway to establish a connection to an SQL service using JDBC.
Since:
4.0.0
Author:
Andy Wilkinson
  • Method Summary

    Modifier and Type
    Method
    Description
    default @Nullable String
    The name of the JDBC driver class.
    @Nullable String
    JDBC URL for the database or null if no Flyway-specific configuration is required.
    @Nullable String
    Password for the database or null if no Flyway-specific configuration is required.
    @Nullable String
    Username for the database or null if no Flyway-specific configuration is required.
  • Method Details

    • getUsername

      @Nullable String getUsername()
      Username for the database or null if no Flyway-specific configuration is required.
      Returns:
      the username for the database or null
    • getPassword

      @Nullable String getPassword()
      Password for the database or null if no Flyway-specific configuration is required.
      Returns:
      the password for the database or null
    • getJdbcUrl

      @Nullable String getJdbcUrl()
      JDBC URL for the database or null if no Flyway-specific configuration is required.
      Returns:
      the JDBC URL for the database or null
    • getDriverClassName

      default @Nullable String getDriverClassName()
      The name of the JDBC driver class. Defaults to the class name of the driver specified in the JDBC URL or null when no JDBC URL is configured.
      Returns:
      the JDBC driver class name or null
      See Also: