Package io.quarkus.deployment.builditem
Class DevServicesAdditionalConfigBuildItem
- java.lang.Object
-
- io.quarkus.builder.item.BuildItem
-
- io.quarkus.builder.item.MultiBuildItem
-
- io.quarkus.deployment.builditem.DevServicesAdditionalConfigBuildItem
-
public final class DevServicesAdditionalConfigBuildItem extends MultiBuildItem
An additional configuration property to set when a dev service sets another, specific configuration property.Quarkus will make sure the relevant settings are present in both JVM and native modes.
This is used to change the defaults of extension configuration when dev services are in use, for example to enable schema management in the Hibernate ORM extension.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interface
DevServicesAdditionalConfigBuildItem.DevServicesAdditionalConfigProvider
-
Constructor Summary
Constructors Constructor Description DevServicesAdditionalConfigBuildItem(DevServicesAdditionalConfigBuildItem.DevServicesAdditionalConfigProvider configProvider)
DevServicesAdditionalConfigBuildItem(String triggeringKey, String key, String value, Runnable callbackWhenEnabled)
Deprecated.DevServicesAdditionalConfigBuildItem(Collection<String> triggeringKeys, String key, String value, Runnable callbackWhenEnabled)
Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description Runnable
getCallbackWhenEnabled()
Deprecated.Don't call this method, usegetConfigProvider()
instead.DevServicesAdditionalConfigBuildItem.DevServicesAdditionalConfigProvider
getConfigProvider()
String
getKey()
Deprecated.Don't call this method, usegetConfigProvider()
instead.String
getTriggeringKey()
Deprecated.Don't call this method, usegetConfigProvider()
instead.Collection<String>
getTriggeringKeys()
Deprecated.Don't call this method, usegetConfigProvider()
instead.String
getValue()
Deprecated.Don't call this method, usegetConfigProvider()
instead.
-
-
-
Constructor Detail
-
DevServicesAdditionalConfigBuildItem
@Deprecated public DevServicesAdditionalConfigBuildItem(String triggeringKey, String key, String value, Runnable callbackWhenEnabled)
Deprecated.
-
DevServicesAdditionalConfigBuildItem
@Deprecated public DevServicesAdditionalConfigBuildItem(Collection<String> triggeringKeys, String key, String value, Runnable callbackWhenEnabled)
Deprecated.
-
DevServicesAdditionalConfigBuildItem
public DevServicesAdditionalConfigBuildItem(DevServicesAdditionalConfigBuildItem.DevServicesAdditionalConfigProvider configProvider)
-
-
Method Detail
-
getTriggeringKey
@Deprecated public String getTriggeringKey()
Deprecated.Don't call this method, usegetConfigProvider()
instead.
-
getTriggeringKeys
@Deprecated public Collection<String> getTriggeringKeys()
Deprecated.Don't call this method, usegetConfigProvider()
instead.
-
getKey
@Deprecated public String getKey()
Deprecated.Don't call this method, usegetConfigProvider()
instead.
-
getValue
@Deprecated public String getValue()
Deprecated.Don't call this method, usegetConfigProvider()
instead.
-
getCallbackWhenEnabled
@Deprecated public Runnable getCallbackWhenEnabled()
Deprecated.Don't call this method, usegetConfigProvider()
instead.
-
getConfigProvider
public DevServicesAdditionalConfigBuildItem.DevServicesAdditionalConfigProvider getConfigProvider()
-
-