Annotation Interface Key


@Retention(RUNTIME) @Target(FIELD) public @interface Key
Specifies the key name to be used for this field in the configuration file. If the value is empty, the field name will be used.
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    The name of the configuration value inside the configuration file.
  • Element Details

    • value

      String value
      The name of the configuration value inside the configuration file.
      Default:
      ""