Annotation Type ConfigProperties


  • @Deprecated
    @Target(TYPE)
    @Retention(RUNTIME)
    public @interface ConfigProperties
    Deprecated.
    Please, use ConfigMapping 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 Detail

      • UNSET_PREFIX

        static final String UNSET_PREFIX
        Deprecated.
      • DEFAULT_FAIL_ON_MISMATCHING_MEMBER

        static final boolean DEFAULT_FAIL_ON_MISMATCHING_MEMBER
        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 the fooBar field, the corresponding property would be whatever.fooBar. If namingStrategy=NamingStrategy.KEBAB_CASE were being used, then the corresponding property would be whatever.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
      • failOnMismatchingMember

        boolean failOnMismatchingMember
        Deprecated.
        Whether to fail when a non-public field of a class doesn't have a corresponding setter
        Default:
        true