Class ModulePreUnloadEvent
java.lang.Object
eu.cloudnetservice.driver.event.Event
eu.cloudnetservice.driver.event.events.module.ModuleEvent
eu.cloudnetservice.driver.event.events.module.ModulePreUnloadEvent
This event is being called after a module has been unloaded and the tasks with the lifecycle
ModuleLifeCycle.UNLOADED of this module have been fired. ModuleWrapper.moduleLifeCycle() is either ModuleLifeCycle.UNLOADED or ModuleLifeCycle.STOPPED.- Since:
- 4.0
-
Constructor Summary
ConstructorsConstructorDescriptionModulePreUnloadEvent(@NonNull ModuleProvider moduleProvider, @NonNull ModuleWrapper module) Constructs a new module pre unload event. -
Method Summary
Methods inherited from class eu.cloudnetservice.driver.event.events.module.ModuleEvent
module, moduleProvider
-
Constructor Details
-
ModulePreUnloadEvent
public ModulePreUnloadEvent(@NonNull @NonNull ModuleProvider moduleProvider, @NonNull @NonNull ModuleWrapper module) Constructs a new module pre unload event.- Parameters:
moduleProvider- the provider in which the module is loaded.module- the module which is associated with this event.- Throws:
NullPointerException- if either the provider or wrapper is null.
-