Interface ModuleEvent
- All Superinterfaces:
Event
- All Known Implementing Classes:
ModuleDisableEvent, ModuleEnableEvent
Fired when a module is switched on or off.
-
Nested Class Summary
Nested classes/interfaces inherited from interface Event
Event.Priority -
Method Summary
Modifier and TypeMethodDescriptionmodule()The module the event is about.withModule(ModuleSimple module) Returns a copy of this event for a different module.Methods inherited from interface Event
cancelled, withCancelled
-
Method Details
-
module
-
withModule
Returns a copy of this event for a different module.- Parameters:
module- the new module- Returns:
- the copy
-