Class ModulePreStartEvent
- java.lang.Object
-
- de.dytanic.cloudnet.driver.event.Event
-
- de.dytanic.cloudnet.driver.event.events.DriverEvent
-
- de.dytanic.cloudnet.driver.event.events.module.ModuleEvent
-
- de.dytanic.cloudnet.driver.event.events.module.ModulePreStartEvent
-
- All Implemented Interfaces:
ICancelable
public final class ModulePreStartEvent extends ModuleEvent implements ICancelable
This event is being called before a module has been started and the tasks with the lifecycleModuleLifeCycle.STARTEDof this module have been fired.IModuleWrapper.getModuleLifeCycle()is stillModuleLifeCycle.LOADEDorModuleLifeCycle.STOPPED.
-
-
Constructor Summary
Constructors Constructor Description ModulePreStartEvent(IModuleProvider moduleProvider, IModuleWrapper module)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanisCancelled()voidsetCancelled(boolean value)-
Methods inherited from class de.dytanic.cloudnet.driver.event.events.module.ModuleEvent
getModule, getModuleProvider
-
Methods inherited from class de.dytanic.cloudnet.driver.event.events.DriverEvent
getDriver
-
Methods inherited from class de.dytanic.cloudnet.driver.event.Event
isShowDebug
-
-
-
-
Constructor Detail
-
ModulePreStartEvent
public ModulePreStartEvent(IModuleProvider moduleProvider, IModuleWrapper module)
-
-
Method Detail
-
isCancelled
public boolean isCancelled()
- Specified by:
isCancelledin interfaceICancelable
-
setCancelled
public void setCancelled(boolean value)
- Specified by:
setCancelledin interfaceICancelable
-
-