Package wtf.choco.veinminer.data
Class LegacyImportTask
java.lang.Object
wtf.choco.veinminer.data.LegacyImportTask
- All Implemented Interfaces:
Runnable
A
Runnable
task that will read VeinMiner's playerdata directory and import it
into a PersistentDataStorageSQL
.
This is an internal class and not meant for public API.
-
Constructor Summary
ConstructorDescriptionLegacyImportTask
(VeinMinerServer veinMiner, PlatformCommandSender sender, PersistentDataStorageSQL dataStorage) Construct a newLegacyImportTask
. -
Method Summary
-
Constructor Details
-
LegacyImportTask
public LegacyImportTask(VeinMinerServer veinMiner, PlatformCommandSender sender, PersistentDataStorageSQL dataStorage) Construct a newLegacyImportTask
.- Parameters:
veinMiner
- the vein miner instancesender
- the sender to which messages should be sent about the task's progressdataStorage
- the data storage into which data should be imported
-
-
Method Details