Commit Graph

6 Commits (b047ddcb6e88ba4c2ce461dda7a68ed72886e063)

Author SHA1 Message Date
Exlll 58b81f3314 Added FieldFilter
If your configuration has a lot of fields and you want to exclude some
of these fields without making them final, static or transient, you can
configure your properties object to use additional FieldFilters.

A FieldFilter filters the fields of a configuration class by a specified
criterion. For example, if you only want to include fields whose names
don't start with 'ignore', you would add the following filter:

YamlProperties properties = YamlProperties.builder()
                .addFilter(field -> !field.getName().startsWith("ignore"))
                // ...
                .build();
6 years ago
Exlll b8caedc86d Fix: Converting back fails for nested collections of complex ConfigurationElements
Note that you now have to set a nesting level when using nested
collections that require the ElementType annotation.
6 years ago
Exlll 7f600834ff Improve documentation 6 years ago
Exlll 49e5b56b5c Update ConfigLib to version 2.0.0 6 years ago
Exlll 108133abc0 added versioning 7 years ago
Exlll 71f342783b clean-up, improvements, fixes, docs 8 years ago