public abstract class AbstractDocumentEvent
extends org.xwiki.observation.event.AbstractCancelableEvent
Event
.Constructor and Description |
---|
AbstractDocumentEvent()
This event will match any other document event of the same type.
|
AbstractDocumentEvent(DocumentReference documentReference)
This event will match only events of the same type affecting the same document.
|
AbstractDocumentEvent(org.xwiki.observation.event.filter.EventFilter eventFilter)
Constructor using a custom
EventFilter . |
cancel, cancel, getReason, isCanceled
equals, getEventFilter, hashCode, matches
public AbstractDocumentEvent()
public AbstractDocumentEvent(DocumentReference documentReference)
documentReference
- the reference of the document relater to this eventpublic AbstractDocumentEvent(org.xwiki.observation.event.filter.EventFilter eventFilter)
EventFilter
.eventFilter
- the filter to use for matching eventsCopyright © 2004–2021 XWiki. All rights reserved.