| Package | Description |
|---|---|
| ch.jalu.configme | |
| ch.jalu.configme.configurationdata | |
| ch.jalu.configme.migration | |
| ch.jalu.configme.resource |
| Modifier and Type | Method and Description |
|---|---|
protected ConfigurationData |
SettingsManagerImpl.getConfigurationData() |
| Modifier and Type | Method and Description |
|---|---|
SettingsManagerBuilder |
SettingsManagerBuilder.configurationData(ConfigurationData configurationData)
Sets the provided configuration data to the builder.
|
| Constructor and Description |
|---|
SettingsManagerImpl(PropertyResource resource,
ConfigurationData configurationData,
MigrationService migrationService)
Constructor.
|
| Modifier and Type | Class and Description |
|---|---|
class |
ConfigurationDataImpl
Contains information about the available properties and their associated comments.
|
| 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.
|
static ConfigurationData |
ConfigurationDataBuilder.createConfiguration(Class<? extends SettingsHolder>... classes)
Collects all properties and comment data from the provided classes.
|
static ConfigurationData |
ConfigurationDataBuilder.createConfiguration(Iterable<Class<? extends SettingsHolder>> classes)
Collects all properties and comment data from the provided classes.
|
static ConfigurationData |
ConfigurationDataBuilder.createConfiguration(List<? extends Property<?>> properties) |
static ConfigurationData |
ConfigurationDataBuilder.createConfiguration(List<? extends Property<?>> properties,
CommentsConfiguration commentsConfiguration) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
MigrationService.checkAndMigrate(PropertyReader reader,
ConfigurationData configurationData)
Performs the migration, returning whether a migration has been performed or not.
|
boolean |
PlainMigrationService.checkAndMigrate(PropertyReader reader,
ConfigurationData configurationData) |
protected static <T> boolean |
PlainMigrationService.moveProperty(Property<T> oldProperty,
Property<T> newProperty,
PropertyReader reader,
ConfigurationData configurationData)
Utility method: moves the value of an old property to a new property.
|
protected boolean |
PlainMigrationService.performMigrations(PropertyReader reader,
ConfigurationData configurationData)
Override this method for custom migrations.
|
| Modifier and Type | Method and Description |
|---|---|
void |
YamlFileResource.exportProperties(ConfigurationData configurationData) |
void |
PropertyResource.exportProperties(ConfigurationData configurationData)
Exports the provided configuration data to the medium (typically a file).
|
| Constructor and Description |
|---|
PropertyPathTraverser(ConfigurationData configurationData) |
Copyright © 2016–2018 The AuthMe Team. All rights reserved.