| Interface | Description |
|---|---|
| Converter<FieldType,ConfigValueType> |
Performs conversions between field values and config values.
|
| Class | Description |
|---|---|
| ConversionTable |
Contains conversions functions organized by value's type.
|
| ConvertedCommentedConfig |
A Config's wrapper that converts the values that are read from and put into the config.
|
| ConvertedCommentedFileConfig | |
| ConvertedConfig |
A Config's wrapper that converts the values that are read from and put into the config
|
| ConvertedFileConfig | |
| ConvertedFormat<C extends Config,F extends ConfigFormat<C>> | |
| ObjectBinder |
Creates configurations bound to an object or class, getting its values from its fields.
|
| ObjectConverter |
Converts Java objects to configs and vice-versa.
|
| Exception | Description |
|---|---|
| InvalidValueException |
Thrown when a value that is associated to a field, or that should become associated to a
field, doesn't conform to the @Spec(something) annotation of that field.
|
| ReflectionException |
Thrown when an important reflective operation fails.
|
| Annotation Type | Description |
|---|---|
| AdvancedPath |
Indicates the path, in the config, of the annotated element.
|
| Conversion |
Indicates that the value of the field must be converted with the specified converter class.
|
| ForceBreakdown |
Indicates that a field must be broken down into its fields instead of being stored as it is,
even if its type is supported by the configuration we try to put the field's value into.
|
| Path |
Indicates the path, in the config, of the annotated element.
|
| PreserveNotNull |
On a field: indicates that, when converting a config to a java object, the value of the field
must not be overriden by a null value from the config.
|
| SpecClassInArray |
Specifies that the value of a field must have a specific class.
|
| SpecDoubleInRange |
Specifies that the value of a field must be in a certain range (inclusive).
|
| SpecEnum |
Specifies that the value of a field must correspond to an enum and
that the value must be read using the given
EnumGetMethod. |
| SpecFloatInRange |
Specifies that the value of a field must be in a certain range (inclusive).
|
| SpecIntInRange |
Specifies that the value of a field must be in a certain range (inclusive).
|
| SpecLongInRange |
Specifies that the value of a field must be in a certain range (inclusive).
|
| SpecNotNull |
Specifies that the value of a field must not be null.
|
| SpecStringInArray |
Specifies that the value of a field must be a String that is contained in a certain array.
|
| SpecStringInRange |
Specifies that the value of a field must be a String in a certain range (inclusive, comparison
done lexicographically).
|
| SpecValidator |
Indicates that the value of the field must be validated by the specified validator class.
|