Interface MigrationProcess.Callback
- Enclosing interface:
MigrationProcess
public static interface MigrationProcess.Callback
A callback gets called when the process is done.
You can add your own one with
MigrationProcess.addCallback(Callback).
All methods are getting synchronized to Bukkit's main thread before getting called.-
Method Summary
-
Method Details
-
onSuccess
Gets called when the process went sucessfully as inititally planned.- Parameters:
duration- The time it took to execute this process
-
onFail
-