Package civitas.celestis.event
Interface Handleable
- All Known Subinterfaces:
Cancellable
- All Known Implementing Classes:
ApplicationEvent,ApplicationStartedEvent,ApplicationStoppingEvent,CancellableEvent,Event,NotificationEvent
A marker interface which marks a class as being handleable by an event manager.
For standards of serialization, see
Event.- See Also:
-
Method Summary
Modifier and TypeMethodDescriptiongetCause()Returns the cause of this event.Returns the unique identifier of this event.
-
Method Details
-
getUniqueId
Returns the unique identifier of this event.- Specified by:
getUniqueIdin interfaceUnique<UUID>- Returns:
- The unique identifier of this event
-
getCause
Returns the cause of this event. If no cause was specified, this will returnnull.- Returns:
- The cause of this event if specified,
nullif not
-