Interface Handleable

All Superinterfaces:
Unique<UUID>
All Known Subinterfaces:
Cancellable
All Known Implementing Classes:
ApplicationEvent, ApplicationStartedEvent, ApplicationStoppingEvent, CancellableEvent, Event, NotificationEvent

public interface Handleable extends Unique<UUID>
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 Type
    Method
    Description
    Returns the cause of this event.
    Returns the unique identifier of this event.
  • Method Details

    • getUniqueId

      @Nonnull UUID getUniqueId()
      Returns the unique identifier of this event.
      Specified by:
      getUniqueId in interface Unique<UUID>
      Returns:
      The unique identifier of this event
    • getCause

      @Nullable Handleable getCause()
      Returns the cause of this event. If no cause was specified, this will return null.
      Returns:
      The cause of this event if specified, null if not