Annotation Interface ConfigValue


@Target(FIELD) @Retention(RUNTIME) @Inherited public @interface ConfigValue
Deprecated.
Old API
Used to indicate that a field should be saved to and loaded from config
  • Element Details

    • value

      String value
      Deprecated.
      Returns:
      The path to the config value represented by the field bearing this annotation
      Default:
      ""
    • priority

      int priority
      Deprecated.
      Returns:
      The priority of this ConfigValue, higher priority will be loaded first
      Default:
      1
    • type

      Deprecated.
      Returns:
      Which type of conversion this value should use
      Default:
      AUTO