Package space.arim.dazzleconf.annote
Annotation Type ConfValidator
Attaches a value validator to a config entry
- Author:
- A248
-
Required Element Summary
Modifier and TypeRequired ElementDescriptionClass<? extends ValueValidator>
Specifies theValueValidator
to use for this config entry.
-
Element Details
-
value
Class<? extends ValueValidator> valueSpecifies theValueValidator
to use for this config entry. TheValueValidator
must have a either a public staticgetInstance()
method returning an instance or a public constructor, each with no arguments, in order to be created.- Returns:
- the value validator to use
-