| Package | Description |
|---|---|
| ch.jalu.configme.configurationdata | |
| ch.jalu.configme.utils |
| Modifier and Type | Method and Description |
|---|---|
protected <T extends SettingsHolder> |
ConfigurationDataBuilder.createSettingsHolderInstance(Class<T> clazz)
Creates an instance of the given settings holder class.
|
| Modifier and Type | Method and Description |
|---|---|
protected ConfigurationData |
ConfigurationDataBuilder.collectData(Iterable<Class<? extends SettingsHolder>> classes)
Collects property data and comment info from the given class and creates a configuration data
instance with it.
|
protected void |
ConfigurationDataBuilder.collectSectionComments(Class<? extends SettingsHolder> clazz) |
static ConfigurationData |
ConfigurationDataBuilder.createConfiguration(Iterable<Class<? extends SettingsHolder>> classes)
Collects all properties and comment data from the provided classes.
|
| Modifier and Type | Method and Description |
|---|---|
protected ConfigurationData |
SettingsHolderClassValidator.createConfigurationData(Iterable<Class<? extends SettingsHolder>> classes) |
protected boolean |
SettingsHolderClassValidator.hasValidConstructorSetup(Class<? extends SettingsHolder> clazz) |
void |
SettingsHolderClassValidator.validate(Iterable<Class<? extends SettingsHolder>> settingHolders)
Runs all validations of this class with the given settings holder classes.
|
void |
SettingsHolderClassValidator.validateAllPropertiesAreConstants(Iterable<Class<? extends SettingsHolder>> settingHolders)
Throws an exception if any Property field of the given classes is not public, static, or final.
|
void |
SettingsHolderClassValidator.validateClassesHaveHiddenNoArgConstructor(Iterable<Class<? extends SettingsHolder>> settingHolders)
Throws an exception if any of the provided setting holder classes does not have a single private
no-args constructor.
|
void |
SettingsHolderClassValidator.validateSettingsHolderClassesFinal(Iterable<Class<? extends SettingsHolder>> settingHolders)
Throws an exception if any of the provided settings holder classes is not final.
|
Copyright © 2016–2021 The AuthMe Team. All rights reserved.