public interface VersionMigration
VersionMigrationService to migrate from one configuration version to a newer one.VersionMigrationService| Modifier and Type | Method and Description |
|---|---|
int |
fromVersion() |
void |
migrate(@NotNull PropertyReader reader,
@NotNull ConfigurationData configurationData)
Migrates the configuration.
|
int |
targetVersion() |
int fromVersion()
int targetVersion()
void migrate(@NotNull
@NotNull PropertyReader reader,
@NotNull
@NotNull ConfigurationData configurationData)
reader - the property reader to read the configuration file fromconfigurationData - configuration data to update a property's valueCopyright © 2016–2023 The AuthMe Team. All rights reserved.