Class InvalidURLEvent

  • All Implemented Interfaces:
    Serializable, org.xwiki.observation.event.Event, org.xwiki.observation.event.FilterableEvent

    public class InvalidURLEvent
    extends org.xwiki.observation.event.AbstractFilterableEvent
    An invalid URL has been found (invalid meaning it cannot be reached).
    Since:
    3.3M1
    Version:
    $Id: 1cf1887836a522c74c8d116c5b1b6ba61708b791 $
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor Description
      InvalidURLEvent()
      Constructor initializing the event filter with an AlwaysMatchingEventFilter, meaning that this event will match any other annotation add event.
      InvalidURLEvent​(String url)
      Constructor initializing the event filter with a FixedNameEventFilter, meaning that this event will match only events of the same type affecting the same passed name.
      InvalidURLEvent​(org.xwiki.observation.event.filter.EventFilter eventFilter)
      Constructor using a custom EventFilter.
    • Constructor Detail

      • InvalidURLEvent

        public InvalidURLEvent()
        Constructor initializing the event filter with an AlwaysMatchingEventFilter, meaning that this event will match any other annotation add event.
      • InvalidURLEvent

        public InvalidURLEvent​(String url)
        Constructor initializing the event filter with a FixedNameEventFilter, meaning that this event will match only events of the same type affecting the same passed name.
        Parameters:
        url - the failing URL
      • InvalidURLEvent

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