Annotation Interface ConfigEntry


@Target(FIELD) @Retention(RUNTIME) public @interface ConfigEntry
An annotation to mark a field as a config entry.
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    The path of this entry in the config section, relative to the loaded section.
  • Element Details

    • path

      String path
      The path of this entry in the config section, relative to the loaded section. If left empty, the annotated field's name is used as the path.
      Returns:
      the config path for this entry, or an empty string to use the field's name
      Default:
      ""