Interface UpdateEvent

All Known Implementing Classes:
PopupUpdateEvent

public interface UpdateEvent
Represents the update event of popup.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final UpdateEvent
    Empty event.
  • Method Summary

    Modifier and Type
    Method
    Description
    @NotNull Object
    Returns the key.
    @NotNull UpdateReason
    Returns update reason of event.
    default @NotNull UpdateEvent
    Gets a source of this event.
  • Field Details

  • Method Details

    • getType

      @NotNull @NotNull UpdateReason getType()
      Returns update reason of event.
      Returns:
      update event
    • getKey

      @NotNull @NotNull Object getKey()
      Returns the key. Normally random uuid.
      Returns:
      unique key
    • source

      @NotNull default @NotNull UpdateEvent source()
      Gets a source of this event. You need to call this to get original event, not instance itself.
      Returns:
      source