public class ActionExecutingEvent extends AbstractActionExecutionEvent implements org.xwiki.observation.event.CancelableEvent, org.xwiki.observation.event.BeginEvent
action type
.
The event also send the following parameters:
Constructor and Description |
---|
ActionExecutingEvent()
Match any
ActionExecutingEvent . |
ActionExecutingEvent(String actionName)
Constructor initializing the action name of the event.
|
Modifier and Type | Method and Description |
---|---|
void |
cancel() |
void |
cancel(String reason) |
String |
getReason() |
boolean |
isCanceled() |
equals, getActionName, hashCode, matches, toString
public ActionExecutingEvent()
ActionExecutingEvent
.public ActionExecutingEvent(String actionName)
actionName
- the name of the executed actionpublic boolean isCanceled()
isCanceled
in interface org.xwiki.observation.event.CancelableEvent
public void cancel()
cancel
in interface org.xwiki.observation.event.CancelableEvent
public void cancel(String reason)
cancel
in interface org.xwiki.observation.event.CancelableEvent
public String getReason()
getReason
in interface org.xwiki.observation.event.CancelableEvent
Copyright © 2004–2021 XWiki. All rights reserved.