public class AnnotationUpdatedEvent extends AbstractAnnotationEvent
The event also send the following parameters:
Constructor and Description |
---|
AnnotationUpdatedEvent()
Constructor initializing the event filter with an
AlwaysMatchingEventFilter , meaning that this event will match any
other annotation update event. |
AnnotationUpdatedEvent(org.xwiki.observation.event.filter.EventFilter eventFilter)
Constructor using a custom
EventFilter . |
AnnotationUpdatedEvent(String documentName,
String identifier)
Constructor initializing the event filter with a
FixedNameEventFilter ,
meaning that this event will match only annotation update events affecting the document matching the passed
document name. |
getIdentifier
cancel, cancel, getReason, isCanceled
equals, getEventFilter, hashCode, matches
public AnnotationUpdatedEvent()
AlwaysMatchingEventFilter
, meaning that this event will match any
other annotation update event.public AnnotationUpdatedEvent(String documentName, String identifier)
FixedNameEventFilter
,
meaning that this event will match only annotation update events affecting the document matching the passed
document name.documentName
- the name of the document to matchidentifier
- the identifier of the updated annotationpublic AnnotationUpdatedEvent(org.xwiki.observation.event.filter.EventFilter eventFilter)
EventFilter
.eventFilter
- the filter to use for matching eventsCopyright © 2004–2022 XWiki. All rights reserved.