Class SuppressNonRuntimeConfigChangedWarningBuildItem

java.lang.Object
io.quarkus.builder.item.BuildItem
io.quarkus.builder.item.MultiBuildItem
io.quarkus.deployment.builditem.SuppressNonRuntimeConfigChangedWarningBuildItem

public final class SuppressNonRuntimeConfigChangedWarningBuildItem extends MultiBuildItem
Allows extensions to suppress the runtime warning that Quarkus emits on startup when a non-runtime configuration option is different at runtime than build time. An example usage of this is when a user provides some test value in application.properties for a build-time only property and only provides the actual value on the command line when starting Quarkus. In such a case we don't want the value set at build time to be revealed at runtime as it could be sensitive.
  • Constructor Details

    • SuppressNonRuntimeConfigChangedWarningBuildItem

      public SuppressNonRuntimeConfigChangedWarningBuildItem(String configKey)
  • Method Details

    • getConfigKey

      public String getConfigKey()