public interface CancelableEvent extends Event
| Modifier and Type | Method and Description |
|---|---|
void |
cancel()
Cancel the event.
|
void |
cancel(String reason)
Cancel the event, giving a reason why.
|
String |
getReason()
Get the reason why the event was canceled.
|
boolean |
isCanceled()
Check if this event was canceled by one of the receivers.
|
boolean isCanceled()
void cancel()
void cancel(String reason)
reason - the reason why the event was canceledCopyright © 2004–2017 XWiki. All rights reserved.