org.xwiki.bridge.event.ActionExecutedEvent
class from XWiki Platform instead@Deprecated public class ActionExecutionEvent extends Object implements Event, Serializable
action type
.Constructor and Description |
---|
ActionExecutionEvent(String actionName)
Deprecated.
Constructor initializing the action name of the event.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object object)
Deprecated.
|
String |
getActionName()
Deprecated.
Gets the name of the action causing this event.
|
int |
hashCode()
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 . |
public ActionExecutionEvent(String actionName)
actionName
- the name of the executed actionpublic String getActionName()
upload
or login
public boolean matches(Object otherEvent)
Event
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.Copyright © 2004–2021 XWiki. All rights reserved.