Interface Cancellable

All Known Implementing Classes:
AbstractCancellable

@NotSubscribable public interface Cancellable
Represents a cancellable event.
Since:
1.0
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    Returns whether the event is cancelled.
    void
    cancelled(boolean cancelled)
    Set whether the event is cancelled.
    boolean
    Deprecated.
    Replaced with cancelled()
    void
    setCancelled(boolean cancelled)
    Deprecated.
    Replaced with cancelled()
  • Method Details

    • cancelled

      boolean cancelled()
      Returns whether the event is cancelled.
      Since:
      1.2
    • cancelled

      void cancelled(boolean cancelled)
      Set whether the event is cancelled.
      Parameters:
      cancelled - if the event is cancelled
      Since:
      1.2
    • isCancelled

      @Deprecated boolean isCancelled()
      Deprecated.
      Replaced with cancelled()
      Returns whether the event is cancelled.
      Since:
      1.0
    • setCancelled

      @Deprecated void setCancelled(boolean cancelled)
      Deprecated.
      Replaced with cancelled()
      Set whether the event is cancelled.
      Parameters:
      cancelled - if the event is cancelled
      Since:
      1.0