Package io.quarkus.arc.config
Annotation Type ConfigProperties
-
@Deprecated @Target(TYPE) @Retention(RUNTIME) public @interface ConfigProperties
Deprecated.Please, useConfigMapping
instead. 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 boolean
DEFAULT_FAIL_ON_MISMATCHING_MEMBER
Deprecated.static String
UNSET_PREFIX
Deprecated.
-
Optional Element Summary
Optional Elements Modifier and Type Optional Element Description boolean
failOnMismatchingMember
Deprecated.Whether to fail when a non-public field of a class doesn't have a corresponding setterConfigProperties.NamingStrategy
namingStrategy
Deprecated.The naming strategy to use for the corresponding property.String
prefix
Deprecated.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.VERBATIM
means that whatever the name of the field / method is, that will be the name of the property.NamingStrategy.KEBAB_CASE
means 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 thefooBar
field, the corresponding property would bewhatever.fooBar
. IfnamingStrategy=NamingStrategy.KEBAB_CASE
were being used, then the corresponding property would bewhatever.foo-bar
When 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
-
-