Package io.quarkus.quartz.deployment
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 Summary
ConstructorsConstructorDescriptionQuartzJDBCDriverDialectBuildItem(Optional<String> driver, List<io.quarkus.quartz.runtime.jdbc.JDBCDataSource> dataSources) Driver represented as aString, can be empty even if configured during build time in case there is no DB. -
Method Summary
-
Constructor Details
-
QuartzJDBCDriverDialectBuildItem
public QuartzJDBCDriverDialectBuildItem(Optional<String> driver, List<io.quarkus.quartz.runtime.jdbc.JDBCDataSource> dataSources) Driver represented as aString, 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 emptydataSources- can be null which indicates that the driver has been resolved during build time
-
-
Method Details
-
getDriver
-
getDataSources
-