Package space.arim.dazzleconf.annote
Annotation Type ConfValidator
Deprecated.
Value validators will be removed in DazzleConf 2.0 since they do not fit the new API model. Meanwhile,
you might save time by switching usage of this class to modifying your value serialisers and checking output values
appropriately. If need be, make new types that uphold your requirements.
Attaches a value validator to a config entry
- Author:
- A248
-
Required Element Summary
Required ElementsModifier and TypeRequired ElementDescriptionClass<? extends ValueValidator> Deprecated.Specifies theValueValidatorto use for this config entry.
-
Element Details
-
value
Class<? extends ValueValidator> valueDeprecated.Specifies theValueValidatorto use for this config entry. TheValueValidatormust 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
-