@ConfigRoot(name="configuration", phase=RUN_TIME) public class ConfigurationRuntimeConfig extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
ConfigurationRuntimeConfig.BuildTimeMismatchAtRuntime |
| Modifier and Type | Field and Description |
|---|---|
ConfigurationRuntimeConfig.BuildTimeMismatchAtRuntime |
buildTimeMismatchAtRuntime
What should happen if the application is started with a different build time configuration than it was compiled
against.
|
| Constructor and Description |
|---|
ConfigurationRuntimeConfig() |
@ConfigItem(defaultValue="warn") public ConfigurationRuntimeConfig.BuildTimeMismatchAtRuntime buildTimeMismatchAtRuntime
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 with
quarkus.configuration.build-time-mismatch-at-runtime = fail.
Copyright © 2021 JBoss by Red Hat. All rights reserved.