Interface Cancellable

    • Method Detail

      • isCancelled

        default boolean isCancelled()
        Returns true if the event is currently cancelled.
        Returns:
        if the event is cancelled
      • isNotCancelled

        default boolean isNotCancelled()
        Returns true if the event is not currently cancelled.
        Returns:
        if the event is not cancelled
      • setCancelled

        default boolean setCancelled​(boolean cancelled)
        Sets the cancellation state of the event.
        Parameters:
        cancelled - the new state
        Returns:
        the previous state