Class AbstractDocumentEvent

    • Constructor Summary

      Constructors 
      Constructor 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.
    • Method Summary

      • Methods inherited from class org.xwiki.observation.event.AbstractCancelableEvent

        cancel, cancel, getReason, isCanceled
      • Methods inherited from class org.xwiki.observation.event.AbstractFilterableEvent

        equals, getEventFilter, hashCode, matches
      • Methods inherited from interface org.xwiki.observation.event.Event

        matches
    • Constructor Detail

      • AbstractDocumentEvent

        public AbstractDocumentEvent()
        This event will match any other document event of the same type.
      • AbstractDocumentEvent

        public AbstractDocumentEvent​(DocumentReference documentReference)
        This event will match only events of the same type affecting the same document.
        Parameters:
        documentReference - the reference of the document relater to this event
      • AbstractDocumentEvent

        public AbstractDocumentEvent​(org.xwiki.observation.event.filter.EventFilter eventFilter)
        Constructor using a custom EventFilter.
        Parameters:
        eventFilter - the filter to use for matching events