Class QuartzJDBCDriverDialectBuildItem

java.lang.Object
io.quarkus.builder.item.BuildItem
io.quarkus.builder.item.SimpleBuildItem
io.quarkus.quartz.deployment.QuartzJDBCDriverDialectBuildItem

final class QuartzJDBCDriverDialectBuildItem extends io.quarkus.builder.item.SimpleBuildItem
Holds the necessary information to determine SQL driver dialect.

This can mean either a custom driver registered by user or one of Quarkus built-in drivers. If it is the latter, we defer discovering the driver to runtime, see also QuartzSupport.

  • Constructor Details

    • QuartzJDBCDriverDialectBuildItem

      public QuartzJDBCDriverDialectBuildItem(Optional<String> driver, List<io.quarkus.quartz.runtime.jdbc.JDBCDataSource> dataSources)
      Driver represented as a String, can be empty even if configured during build time in case there is no DB.

      The list of data sources are only used if the driver needs to be determined during runtime. The list can be null if the driver has been determined during build time.

      Parameters:
      driver - driver to be used, optionally empty
      dataSources - can be null which indicates that the driver has been resolved during build time
  • Method Details

    • getDriver

      public Optional<String> getDriver()
    • getDataSources

      public List<io.quarkus.quartz.runtime.jdbc.JDBCDataSource> getDataSources()