public class ConfigurationDataBuilder extends Object
Property fields
from SettingsHolder implementations via reflection.
Properties must be declared as public static fields or they are ignored.
Comments for sections (parent paths of properties) may be defined with SectionComments methods.
| Modifier and Type | Method and Description |
|---|---|
static ConfigurationData |
collectData(Class<? extends SettingsHolder>... classes)
Collects all properties and comment data from the provided classes.
|
static ConfigurationData |
collectData(Iterable<Class<? extends SettingsHolder>> classes)
Collects all properties and comment data from the provided classes.
|
@SafeVarargs public static ConfigurationData collectData(Class<? extends SettingsHolder>... classes)
classes - the classes to scan for their property datapublic static ConfigurationData collectData(Iterable<Class<? extends SettingsHolder>> classes)
classes - the classes to scan for their property dataCopyright © 2016–2018 The AuthMe Team. All rights reserved.