Interface DevServicesDatasourceProvider
public interface DevServicesDatasourceProvider
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final record -
Method Summary
Modifier and TypeMethodDescriptioncreateDatasourceStartable(Optional<String> username, Optional<String> password, String datasourceName, DevServicesDatasourceContainerConfig devServicesDatasourceContainerConfig, io.quarkus.runtime.LaunchMode launchMode, boolean useSharedNetwork, Optional<Duration> startupTimeout) The DatasourceStartable should *not* have had `start()` called.findRunningComposeDatasource(io.quarkus.runtime.LaunchMode launchMode, boolean useSharedNetwork, DevServicesDatasourceContainerConfig containerConfig, io.quarkus.deployment.builditem.DevServicesComposeProjectBuildItem composeProjectBuildItem) Ecosystem implementations may not have access to a Feature object, so we return a String.default boolean
-
Method Details
-
getFeature
String getFeature()Ecosystem implementations may not have access to a Feature object, so we return a String.- Returns:
- the result of feature.getName(), or a String representing the feature name
-
createDatasourceStartable
DatasourceStartable createDatasourceStartable(Optional<String> username, Optional<String> password, String datasourceName, DevServicesDatasourceContainerConfig devServicesDatasourceContainerConfig, io.quarkus.runtime.LaunchMode launchMode, boolean useSharedNetwork, Optional<Duration> startupTimeout) The DatasourceStartable should *not* have had `start()` called. -
findRunningComposeDatasource
Optional<DevServicesDatasourceProvider.RunningDevServicesDatasource> findRunningComposeDatasource(io.quarkus.runtime.LaunchMode launchMode, boolean useSharedNetwork, DevServicesDatasourceContainerConfig containerConfig, io.quarkus.deployment.builditem.DevServicesComposeProjectBuildItem composeProjectBuildItem) -
isDockerRequired
default boolean isDockerRequired()
-