org.xwiki.bridge.event
Class ActionExecutingEvent
java.lang.Object
org.xwiki.bridge.event.AbstractActionExecutionEvent
org.xwiki.bridge.event.ActionExecutingEvent
- All Implemented Interfaces:
- Serializable, ActionExecutionEvent, org.xwiki.observation.event.BeginEvent, org.xwiki.observation.event.CancelableEvent, org.xwiki.observation.event.Event
public class ActionExecutingEvent
- extends AbstractActionExecutionEvent
- implements org.xwiki.observation.event.CancelableEvent, org.xwiki.observation.event.BeginEvent
An event triggered whenever a client request (action) is processed, like /upload/ or /view/. A
specific event corresponds to only one action type.
- Since:
- 3.2M3
- Version:
- $Id: db7044609ea269a43f9dd64921adc51eb9faa49f $
- See Also:
- Serialized Form
| Methods inherited from interface org.xwiki.observation.event.Event |
matches |
ActionExecutingEvent
public ActionExecutingEvent()
- Match any
ActionExecutingEvent.
ActionExecutingEvent
public ActionExecutingEvent(String actionName)
- Constructor initializing the action name of the event.
- Parameters:
actionName - the name of the executed action
isCanceled
public boolean isCanceled()
- Specified by:
isCanceled in interface org.xwiki.observation.event.CancelableEvent
cancel
public void cancel()
- Specified by:
cancel in interface org.xwiki.observation.event.CancelableEvent
cancel
public void cancel(String reason)
- Specified by:
cancel in interface org.xwiki.observation.event.CancelableEvent
getReason
public String getReason()
- Specified by:
getReason in interface org.xwiki.observation.event.CancelableEvent
Copyright © 2004–2014 XWiki. All rights reserved.