Package com.ghostchu.simplereloadlib
Interface Reloadable
-
public interface ReloadableInterface that allow class register to ReloadManager
-
-
Method Summary
All Methods Instance Methods Default Methods Modifier and Type Method Description default ReloadResultreloadModule()Callback for reloading
-
-
-
Method Detail
-
reloadModule
default ReloadResult reloadModule() throws java.lang.Exception
Callback for reloading- Returns:
- Reloading success
- Throws:
java.lang.Exception- Throws error if module failed to process reloading (this will turn ReloadStatus to ReloadStatus.EXCEPTION)
-
-