org.xwiki.bridge.event
Class ActionExecutingEvent

java.lang.Object
  extended by org.xwiki.bridge.event.AbstractActionExecutionEvent
      extended by 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

Constructor Summary
ActionExecutingEvent()
          Match any ActionExecutingEvent.
ActionExecutingEvent(String actionName)
          Constructor initializing the action name of the event.
 
Method Summary
 void cancel()
           
 void cancel(String reason)
           
 String getReason()
           
 boolean isCanceled()
           
 
Methods inherited from class org.xwiki.bridge.event.AbstractActionExecutionEvent
equals, getActionName, hashCode, matches, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.xwiki.observation.event.Event
matches
 

Constructor Detail

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
Method Detail

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-2013 XWiki. All Rights Reserved.