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 Classes Modifier and Type Class Description static class
ConfigurationRuntimeConfig.BuildTimeMismatchAtRuntime
-
Field Summary
Fields Modifier and Type Field Description ConfigurationRuntimeConfig.BuildTimeMismatchAtRuntime
buildTimeMismatchAtRuntime
What should happen if the application is started with a different build time configuration than it was compiled against.
-
Constructor Summary
Constructors Constructor Description ConfigurationRuntimeConfig()
-
-
-
Field Detail
-
buildTimeMismatchAtRuntime
@ConfigItem(defaultValue="warn") public ConfigurationRuntimeConfig.BuildTimeMismatchAtRuntime buildTimeMismatchAtRuntime
What 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
.
-
-