Annotation Interface ConfigPath


@Target({FIELD,METHOD}) @Retention(RUNTIME) public @interface ConfigPath
The main annotation to set the config path
  • Required Element Summary

    Required Elements
    Modifier and Type
    Required Element
    Description
    @NotNull String[]
    Get the config path
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    @NotNull Class<? extends Converter>
    Get the converter
    int
    Get the priority
  • Element Details

    • value

      @NotNull @NotNull String[] value
      Get the config path
      Returns:
      the path
    • converter

      @NotNull @NotNull Class<? extends Converter> converter
      Get the converter
      Returns:
      the converter
      Default:
      me.hsgamer.hscore.config.annotation.converter.impl.DefaultConverter.class
    • priority

      int priority
      Get the priority
      Returns:
      the priority
      Default:
      0