public class NaiveMigrationHelper extends Object implements IMigrationHelper
| Modifier and Type | Field and Description |
|---|---|
protected org.bukkit.configuration.file.FileConfiguration |
oldConfig |
protected File |
oldFile |
| Constructor and Description |
|---|
NaiveMigrationHelper(org.bukkit.configuration.file.FileConfiguration oldConfig,
File oldFile) |
| Modifier and Type | Method and Description |
|---|---|
void |
migrate(IConfigSource current) |
protected void |
traversal(String parentNode,
Map<String,Object> map,
BiConsumer<String,Object> consumer) |
protected final org.bukkit.configuration.file.FileConfiguration oldConfig
protected final File oldFile
public NaiveMigrationHelper(org.bukkit.configuration.file.FileConfiguration oldConfig,
File oldFile)
protected void traversal(String parentNode, Map<String,Object> map, BiConsumer<String,Object> consumer)
public void migrate(IConfigSource current)
migrate in interface IMigrationHelper