Package io.quarkus.runtime.configuration
Class ConfigurationRuntimeConfig
java.lang.Object
io.quarkus.runtime.configuration.ConfigurationRuntimeConfig
@ConfigRoot(name="configuration",
phase=RUN_TIME)
public class ConfigurationRuntimeConfig
extends Object
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enum
-
Field Summary
FieldsModifier and TypeFieldDescriptionWhat should happen if the application is started with a different build time configuration than it was compiled against. -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
buildTimeMismatchAtRuntime
@ConfigItem(defaultValue="warn") public ConfigurationRuntimeConfig.BuildTimeMismatchAtRuntime buildTimeMismatchAtRuntimeWhat should happen if the application is started with a different build time configuration than it was compiled against. This may be useful to prevent misconfiguration.If this is set to
warn
the application will warn at start up.If this is set to
fail
the application will fail at start up.Native tests leveraging
@io.quarkus.test.junit.TestProfile
are always run withquarkus.configuration.build-time-mismatch-at-runtime = fail
.
-
-
Constructor Details
-
ConfigurationRuntimeConfig
public ConfigurationRuntimeConfig()
-