public interface MigrationService
| Modifier and Type | Field and Description |
|---|---|
static boolean |
MIGRATION_REQUIRED
Constant for the return value of
checkAndMigrate(ch.jalu.configme.resource.PropertyReader, ch.jalu.configme.configurationdata.ConfigurationData), indicating that a migration has been performed. |
static boolean |
NO_MIGRATION_NEEDED
Constant for the return value of
checkAndMigrate(ch.jalu.configme.resource.PropertyReader, ch.jalu.configme.configurationdata.ConfigurationData), indicating that no migration was needed. |
| Modifier and Type | Method and Description |
|---|---|
boolean |
checkAndMigrate(PropertyReader reader,
ConfigurationData configurationData)
Performs the migration, returning whether a migration has been performed or not.
|
static final boolean MIGRATION_REQUIRED
checkAndMigrate(ch.jalu.configme.resource.PropertyReader, ch.jalu.configme.configurationdata.ConfigurationData), indicating that a migration has been performed.static final boolean NO_MIGRATION_NEEDED
checkAndMigrate(ch.jalu.configme.resource.PropertyReader, ch.jalu.configme.configurationdata.ConfigurationData), indicating that no migration was needed.boolean checkAndMigrate(PropertyReader reader, ConfigurationData configurationData)
reader - reader to access the values in the configuration fileconfigurationData - configuration data, which knows all properties and manages their associated valuesCopyright © 2016–2018 The AuthMe Team. All rights reserved.