Package org.xwiki.observation.event
Class ActionExecutionEvent
java.lang.Object
org.xwiki.observation.event.ActionExecutionEvent
- All Implemented Interfaces:
Serializable,Event
Deprecated.
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
ConstructorsConstructorDescriptionActionExecutionEvent(String actionName) Deprecated.Constructor initializing the action name of the event. -
Method Summary
Modifier and TypeMethodDescriptionbooleanDeprecated.Deprecated.Gets the name of the action causing this event.inthashCode()Deprecated.booleanDeprecated.Compares two events to see if they match, meaning that a listener that registered to receive notifications likereferenceEventwill be notified of any occuring event for whichreferenceEvent.matches(occuringEvent)will returntrue.
-
Constructor Details
-
ActionExecutionEvent
Deprecated.Constructor initializing the action name of the event.- Parameters:
actionName- the name of the executed action
-
-
Method Details
-
getActionName
Deprecated.Gets the name of the action causing this event.- Returns:
- the action causing this event, like
uploadorlogin
-
hashCode
public int hashCode()Deprecated. -
equals
Deprecated. -
matches
Deprecated.Description copied from interface:EventCompares two events to see if they match, meaning that a listener that registered to receive notifications likereferenceEventwill be notified of any occuring event for whichreferenceEvent.matches(occuringEvent)will returntrue. 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 theirEventFiltermatch. Note that the implementation is left open in order to cater for all the possible ways this Observation component can be used.
-
org.xwiki.bridge.event.ActionExecutedEventclass from XWiki Platform instead