Annotation Interface ConfigProperties


@Documented @Retention(RUNTIME) @Target(TYPE) public @interface ConfigProperties
Binds a public immutable configuration record to one validated configuration snapshot.
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    Returns the dot-separated prefix for the record's properties.
    boolean
    Enables replacement on a newer valid configuration snapshot through a provider.
  • Element Details

    • prefix

      String prefix
      Returns the dot-separated prefix for the record's properties.
      Returns:
      prefix, or an empty string for the root
      Default:
      ""
    • refresh

      boolean refresh
      Enables replacement on a newer valid configuration snapshot through a provider.
      Returns:
      whether subsequent provider reads may observe newer versions
      Default:
      false