Class 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.

    • Constructor Detail

      • DevServicesAdditionalConfigBuildItem

        public DevServicesAdditionalConfigBuildItem​(String triggeringKey,
                                                    String key,
                                                    String value,
                                                    Runnable callbackWhenEnabled)
    • Method Detail

      • getTriggeringKey

        public String getTriggeringKey()
      • getKey

        public String getKey()
      • getValue

        public String getValue()
      • getCallbackWhenEnabled

        public Runnable getCallbackWhenEnabled()