Package | Description |
---|---|
org.xwiki.observation.event | |
org.xwiki.observation.event.filter |
Modifier and Type | Method and Description |
---|---|
EventFilter |
AbstractFilterableEvent.getEventFilter() |
EventFilter |
FilterableEvent.getEventFilter()
Retrieves the filter used to match this event against other events, used in
Event.matches(Object) . |
Constructor and Description |
---|
AbstractCancelableEvent(EventFilter eventFilter)
Constructor using a custom
EventFilter . |
AbstractFilterableEvent(EventFilter eventFilter)
Constructor using a custom
EventFilter . |
Modifier and Type | Class and Description |
---|---|
class |
AlwaysMatchingEventFilter
An
EventFilter that always matches another event filter. |
class |
FixedNameEventFilter
An
EventFilter that matches exactly one document name. |
class |
RegexEventFilter
An
EventFilter that selects only events whose affected document name matches a regular expression. |
Modifier and Type | Method and Description |
---|---|
boolean |
RegexEventFilter.matches(EventFilter eventFilter) |
boolean |
EventFilter.matches(EventFilter eventFilter)
Compares two event filters to see if they match, meaning that the "contexts" of two events are
compatible.
|
boolean |
AlwaysMatchingEventFilter.matches(EventFilter eventFilter) |
boolean |
FixedNameEventFilter.matches(EventFilter eventFilter) |
Copyright © 2004–2021 XWiki. All rights reserved.