@ApiStatus.Internal public class MigratorChain extends java.lang.Object implements ConfigMigrator
ConfigOptions).| Constructor and Description |
|---|
MigratorChain(java.util.List<ConfigIndex.Migrator> migrators) |
| Modifier and Type | Method and Description |
|---|---|
void |
migrate(int currentVersion,
java.util.Map<java.lang.String,java.lang.Object> loadedValues)
Migrates the config values to the new version.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetSectionpublic MigratorChain(java.util.List<ConfigIndex.Migrator> migrators)
public void migrate(int currentVersion,
java.util.Map<java.lang.String,java.lang.Object> loadedValues)
ConfigMigratormigrate in interface ConfigMigratorcurrentVersion - The current version of the configloadedValues - The loaded values of the configMigrator