Annotation Type ConfigurationReader


  • @Documented
    @Retention(RUNTIME)
    @Target(ANNOTATION_TYPE)
    public @interface ConfigurationReader

    A meta annotation for use with other annotations to indicate that the annotation reads configuration.

    Since:
    1.0
    See Also:
    ConfigurationProperties
    • Optional Element Summary

      Optional Elements 
      Modifier and Type Optional Element Description
      java.lang.String[] excludes  
      java.lang.String[] includes  
      java.lang.String prefix  
      java.lang.String value
      The prefix to use when resolving properties.
    • Element Detail

      • value

        java.lang.String value
        The prefix to use when resolving properties. The prefix should be defined in kebab case. Example: my-app.foo.
        Returns:
        The configuration entry to read
        Default:
        ""
      • prefix

        java.lang.String prefix
        Returns:
        The prefix to use
        Default:
        ""
      • includes

        java.lang.String[] includes
        Returns:
        The names of the properties to include
        Default:
        {}
      • excludes

        java.lang.String[] excludes
        Returns:
        The names of the properties to exclude
        Default:
        {}