Annotation Type Setting


@Retention(RUNTIME)
@Target(FIELD)
@Documented
public @interface Setting
Marks a field to be mapped by an ObjectMapper.
  • Optional Element Summary

    Optional Elements
    Modifier and Type Optional Element Description
    String comment
    The default comment associated with this configuration node This will be applied to any comment-capable configuration loader
    String value
    The path this setting is located at
  • Element Details

    • value

      The path this setting is located at
      Returns:
      The path
      Default:
      ""
    • comment

      The default comment associated with this configuration node This will be applied to any comment-capable configuration loader
      Returns:
      The comment
      Default:
      ""