Package space.arim.dazzleconf.annote
Class ConfDefault
java.lang.Object
space.arim.dazzleconf.annote.ConfDefault
Container for annotations used to specify the default value on a config entry. Although such annotations
are not required to be present, one of them is necessary to use
When specifying default values, it is not necessary to provide the exact type. Default values specified are treated as pre-deserialisation values. As with a user defined configuration, DazzleConf will do its best to convert them, including by its own means and
ConfigurationFactory.loadDefaults()
. When specifying default values, it is not necessary to provide the exact type. Default values specified are treated as pre-deserialisation values. As with a user defined configuration, DazzleConf will do its best to convert them, including by its own means and
ValueSerialiser
s.- Author:
- A248
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic interface
Specifies the default value as a booleanstatic interface
Specifies the default value as a boolean array.static interface
Specifies the default value as a double.static interface
Specifies the default value as a double array.static interface
Specifies the default value as an integer.static interface
Specifies the default value as an integer array.static interface
Specifies the default value as a long.static interface
Specifies the default value as a long array.static interface
Specifies the default value as a map.static interface
Specifies the qualified name of the static method returning the default value.static interface
Specifies the default value as string.static interface
Specifies the default value as a string array. -
Method Summary