Annotation Type ConfValidator


@Retention(RUNTIME) @Target(METHOD) public @interface ConfValidator
Attaches a value validator to a config entry
Author:
A248
  • Element Details

    • value

      Class<? extends ValueValidator> value
      Specifies the ValueValidator to use for this config entry. The ValueValidator must have a either a public static getInstance() method returning an instance or a public constructor, each with no arguments, in order to be created.
      Returns:
      the value validator to use