Annotation Interface ConfigName


@Retention(RUNTIME) @Target({RECORD_COMPONENT,FIELD}) public @interface ConfigName
Changes the configuration key used for a record component.

Values containing a dot are treated as full keys. Values without dots are treated as local component names and joined with the current nested prefix. Field target support is reserved for possible future non-record mapping; v0.1.0 maps records only.

  • Required Element Summary

    Required Elements
    Modifier and Type
    Required Element
    Description
    Returns the configured key name.
  • Element Details

    • value

      String value
      Returns the configured key name. Values containing a dot are treated as full keys.
      Returns:
      key name