Package io.quarkus.datasource.runtime
Class DevServicesBuildTimeConfig
- java.lang.Object
-
- io.quarkus.datasource.runtime.DevServicesBuildTimeConfig
-
public class DevServicesBuildTimeConfig extends Object
-
-
Field Summary
Fields Modifier and Type Field Description Map<String,String>containerPropertiesGeneric properties that are passed for additional container configuration.Optional<Boolean>enabledIf DevServices has been explicitly enabled or disabled.Optional<Boolean>enabledDeprecatedDeprecated, for removal: This API element is subject to removal in a future version.Use .enabled instead.Optional<String>imageNameThe container image name to use, for container based DevServices providers.OptionalIntportOptional fixed port the dev service will listen to.Map<String,String>propertiesGeneric properties that are added to the database connection URL.
-
Constructor Summary
Constructors Constructor Description DevServicesBuildTimeConfig()
-
-
-
Field Detail
-
enabledDeprecated
@ConfigItem(name="<<parent>>") @Deprecated(forRemoval=true, since="2.1") public Optional<Boolean> enabledDeprecated
Deprecated, for removal: This API element is subject to removal in a future version.Use .enabled instead.If DevServices has been explicitly enabled or disabled. DevServices is generally enabled by default, unless there is an existing configuration present. When DevServices is enabled Quarkus will attempt to automatically configure and start a database when running in Dev or Test mode.
-
enabled
@ConfigItem public Optional<Boolean> enabled
If DevServices has been explicitly enabled or disabled. DevServices is generally enabled by default, unless there is an existing configuration present. When DevServices is enabled Quarkus will attempt to automatically configure and start a database when running in Dev or Test mode.
-
imageName
@ConfigItem public Optional<String> imageName
The container image name to use, for container based DevServices providers. If the provider is not container based (e.g. a H2 Database) then this has no effect.
-
containerProperties
@ConfigItem public Map<String,String> containerProperties
Generic properties that are passed for additional container configuration.Properties defined here are database specific and are interpreted specifically in each database dev service implementation.
-
properties
@ConfigItem public Map<String,String> properties
Generic properties that are added to the database connection URL.
-
port
@ConfigItem public OptionalInt port
Optional fixed port the dev service will listen to.If not defined, the port will be chosen randomly.
-
-