Interface Cancellable

All Known Implementing Classes:
AbstractCancellable

public interface Cancellable
Represents a cancellable event.
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    Gets if the event is cancelled.
    void
    setCancelled(boolean cancelled)
    Cancels the event.
  • Method Details

    • isCancelled

      boolean isCancelled()
      Gets if the event is cancelled.
      Returns:
      if the event is cancelled
    • setCancelled

      void setCancelled(boolean cancelled)
      Cancels the event.
      Parameters:
      cancelled - if the event is cancelled