Package space.arim.dazzleconf.annote


package space.arim.dazzleconf.annote
Defines annotations which control the behaviour of configuration entries.

The most common annotations used will be entry attributes: ConfKey, ConfComments, and annotations in ConfDefault all describe a property of a configuration entry. SubSection defines a config entry as a nested configuration section.

Next are validators. NumericRange and IntegerRange specify the range of a numeric type, while CollectionSize controls the size of some collection. For finer grained validation, ConfValidator may be specified.

There are only 2 annotations applying to a configuration interface rather than individual entries: ConfHeader and ConfSerialisers. The former adds a comment header, and the latter attaches additional ValueSerialiser implementations used specifically for the target configuration interface.