Package io.quarkus.arc.config
Annotation Type ConfigProperties
-
@Deprecated @Target(TYPE) @Retention(RUNTIME) public @interface ConfigProperties
Deprecated.Please, useConfigMappinginstead. This will be removed in a future Quarkus version.Allow configuration properties with a common prefix to be grouped into a single class
-
-
Field Summary
Fields Modifier and Type Fields Description static booleanDEFAULT_FAIL_ON_MISMATCHING_MEMBERDeprecated.static StringUNSET_PREFIXDeprecated.
-
Optional Element Summary
Optional Elements Modifier and Type Optional Element Description booleanfailOnMismatchingMemberDeprecated.Whether or not to fail when a non-public field of a class doesn't have a corresponding setterConfigProperties.NamingStrategynamingStrategyDeprecated.The naming strategy to use for the corresponding property.StringprefixDeprecated.If the default is used, the class name will be used to determine the proper prefix
-
-
-
Field Detail
-
UNSET_PREFIX
static final String UNSET_PREFIX
Deprecated.
-
-
Element Detail
-
prefix
String prefix
Deprecated.If the default is used, the class name will be used to determine the proper prefix- Default:
- "<< unset >>"
-
-
-
namingStrategy
ConfigProperties.NamingStrategy namingStrategy
Deprecated.The naming strategy to use for the corresponding property. This only matters for fields or method names that contain both lower case and upper case characters.NamingStrategy.VERBATIMmeans that whatever the name of the field / method is, that will be the name of the property.NamingStrategy.KEBAB_CASEmeans that the name of property is derived by replacing case changes with a dash. For a example: /**@ConfigProperties(prefix="whatever") public class SomeConfig { public fooBar; }Then to set thefooBarfield, the corresponding property would bewhatever.fooBar. IfnamingStrategy=NamingStrategy.KEBAB_CASEwere being used, then the corresponding property would bewhatever.foo-barWhen this field is not set, then the default strategy will be determined by the value of quarkus.arc.config-properties-default-naming-strategy- Default:
- io.quarkus.arc.config.ConfigProperties.NamingStrategy.FROM_CONFIG
-
-