Class ActionExecutionEvent

java.lang.Object
org.xwiki.observation.event.ActionExecutionEvent
All Implemented Interfaces:
Serializable, Event

@Deprecated public class ActionExecutionEvent extends Object implements Event, Serializable
Deprecated.
since 3.2M3, use the org.xwiki.bridge.event.ActionExecutedEvent class from XWiki Platform instead
An event triggered whenever a client request (action) is processed, like /upload/ or /view/. A specific event corresponds to only one action type.
Version:
$Id: 12463848c7aaba3496243e13c5a5d003b83dc5b5 $
See Also:
  • Constructor Summary

    Constructors
    Constructor
    Description
    Deprecated.
    Constructor initializing the action name of the event.
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    equals(Object object)
    Deprecated.
     
    Deprecated.
    Gets the name of the action causing this event.
    int
    Deprecated.
     
    boolean
    matches(Object otherEvent)
    Deprecated.
    Compares two events to see if they match, meaning that a listener that registered to receive notifications like referenceEvent will be notified of any occuring event for which referenceEvent.matches(occuringEvent) will return true.

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • ActionExecutionEvent

      public ActionExecutionEvent(String actionName)
      Deprecated.
      Constructor initializing the action name of the event.
      Parameters:
      actionName - the name of the executed action
  • Method Details

    • getActionName

      public String getActionName()
      Deprecated.
      Gets the name of the action causing this event.
      Returns:
      the action causing this event, like upload or login
    • hashCode

      public int hashCode()
      Deprecated.
      Overrides:
      hashCode in class Object
    • equals

      public boolean equals(Object object)
      Deprecated.
      Overrides:
      equals in class Object
    • matches

      public boolean matches(Object otherEvent)
      Deprecated.
      Description copied from interface: Event
      Compares two events to see if they match, meaning that a listener that registered to receive notifications like referenceEvent will be notified of any occuring event for which referenceEvent.matches(occuringEvent) will return true. The matching algorithm depends on the event implementation. For example for Document events two events match if they implement the same event class and if their EventFilter match. Note that the implementation is left open in order to cater for all the possible ways this Observation component can be used.
      Specified by:
      matches in interface Event
      Parameters:
      otherEvent - the occuring event matched against the current object
      Returns:
      true if the passed event matches this event, false otherwise.