|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface CancelableEvent
This event can be canceled by the receiver. Sender of this event must take care of undoing any changes in this case.
| Method Summary | |
|---|---|
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. |
| Methods inherited from interface org.xwiki.observation.event.Event |
|---|
matches |
| Method Detail |
|---|
boolean isCanceled()
void cancel()
void cancel(String reason)
reason - the reason why the event was canceledString getReason()
cancel()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||