public class NaiveMigrationHelper extends Object implements IMigrationHelper
| Modifier and Type | Field and Description |
|---|---|
protected ninja.leaping.configurate.ConfigurationNode |
oldConfig |
protected File |
oldFile |
| Constructor and Description |
|---|
NaiveMigrationHelper(ninja.leaping.configurate.ConfigurationNode oldConfig,
File oldFile) |
| Modifier and Type | Method and Description |
|---|---|
void |
migrate(IConfigSource current) |
protected void |
traversal(Map<Object,? extends ninja.leaping.configurate.ConfigurationNode> map,
BiConsumer<String,Object> consumer) |
protected final ninja.leaping.configurate.ConfigurationNode oldConfig
protected final File oldFile
public NaiveMigrationHelper(ninja.leaping.configurate.ConfigurationNode oldConfig,
File oldFile)
protected void traversal(Map<Object,? extends ninja.leaping.configurate.ConfigurationNode> map, BiConsumer<String,Object> consumer)
public void migrate(IConfigSource current)
migrate in interface IMigrationHelper