public interface Cancellable
| Modifier and Type | Method and Description |
|---|---|
default boolean |
isCancelled() |
void |
setCancelled(boolean cancelled)
Cancelling an event will prevent the action, with which this event is associated, to further run.
|
default boolean isCancelled()
void setCancelled(boolean cancelled)
cancelled - whether or not this event should be cancelled.