Class InvalidURLEvent
- java.lang.Object
-
- org.xwiki.observation.event.AbstractFilterableEvent
-
- org.xwiki.rendering.transformation.linkchecker.InvalidURLEvent
-
- All Implemented Interfaces:
Serializable,org.xwiki.observation.event.Event,org.xwiki.observation.event.FilterableEvent
public class InvalidURLEvent extends org.xwiki.observation.event.AbstractFilterableEventAn 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 anAlwaysMatchingEventFilter, meaning that this event will match any other annotation add event.InvalidURLEvent(String url)Constructor initializing the event filter with aFixedNameEventFilter, 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 customEventFilter.
-
-
-
Constructor Detail
-
InvalidURLEvent
public InvalidURLEvent()
Constructor initializing the event filter with anAlwaysMatchingEventFilter, meaning that this event will match any other annotation add event.
-
InvalidURLEvent
public InvalidURLEvent(String url)
Constructor initializing the event filter with aFixedNameEventFilter, 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 customEventFilter.- Parameters:
eventFilter- the filter to use for matching events
-
-