|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.xwiki.observation.event.ActionExecutionEvent
public class ActionExecutionEvent
An event triggered whenever a client request (action) is processed, like /upload/ or /view/. A
specific event corresponds to only one action type.
| Constructor Summary | |
|---|---|
ActionExecutionEvent(java.lang.String actionName)
Constructor initializing the action name of the event. |
|
| Method Summary | |
|---|---|
boolean |
equals(java.lang.Object object)
|
java.lang.String |
getActionName()
Gets the name of the action causing this event. |
int |
hashCode()
|
boolean |
matches(java.lang.Object otherEvent)
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 Detail |
|---|
public ActionExecutionEvent(java.lang.String actionName)
actionName - the name of the executed action| Method Detail |
|---|
public java.lang.String getActionName()
upload or loginpublic int hashCode()
hashCode in class java.lang.ObjectObject.hashCode()public boolean equals(java.lang.Object object)
equals in class java.lang.ObjectObject.equals(Object)public boolean matches(java.lang.Object otherEvent)
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.
matches in interface EventotherEvent - the occuring event matched against the current object
true if the passed event matches this event, false otherwise.Event.matches(Object)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||