protected static final class LeafPropertiesGenerator.EntryBuilder extends Object
| Modifier and Type | Field and Description |
|---|---|
protected BeanProperty<?> |
beanProperty |
protected List<Property<?>> |
properties |
| Modifier | Constructor and Description |
|---|---|
protected |
EntryBuilder(BeanProperty beanProperty) |
| Modifier and Type | Method and Description |
|---|---|
protected List<Property<?>> |
collectPropertiesFromBean(Object bean,
String path)
Processes a bean class and handles all of its writable properties.
|
protected void |
collectPropertyEntries(Object value,
String path)
Creates property entries for the provided value, recursively for beans.
|
protected Property<?> |
createConstantProperty(Object value,
String path) |
protected void |
handleCollection(Collection<?> value,
String path)
Handles a value that is of
Collection type. |
protected final BeanProperty<?> beanProperty
protected EntryBuilder(BeanProperty beanProperty)
protected List<Property<?>> collectPropertiesFromBean(Object bean, String path)
bean - the bean to processpath - the path of the bean in the config structureprotected void collectPropertyEntries(Object value, String path)
value - the value to processpath - the path of the value in the config structure@Nullable protected Property<?> createConstantProperty(Object value, String path)
protected void handleCollection(Collection<?> value, String path)
Collection type.value - the collectionpath - the path of the collection in the config structureCopyright © 2016–2018 The AuthMe Team. All rights reserved.