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:
3.1.0
Author:
Andy Wilkinson
  • Method Summary

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

    • getUsername

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

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

      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 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: