public interface Event
|Modifier and Type||Method and Description|
Compares two events to see if they match, meaning that a listener that registered to receive notifications like
boolean matches(Object otherEvent)
referenceEventwill be notified of any occuring event for which
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
EventFiltermatch. Note that the implementation is left open in order to cater for all the possible ways this Observation component can be used.
otherEvent- the occuring event matched against the current object
trueif the passed event matches this event,
Copyright © 2004–2021 XWiki. All rights reserved.