Class | Line # | Actions | |||||
---|---|---|---|---|---|---|---|
InvalidURLEvent | 31 | 3 | 0% | 3 | 4 |
1 | /* | |
2 | * See the NOTICE file distributed with this work for additional | |
3 | * information regarding copyright ownership. | |
4 | * | |
5 | * This is free software; you can redistribute it and/or modify it | |
6 | * under the terms of the GNU Lesser General Public License as | |
7 | * published by the Free Software Foundation; either version 2.1 of | |
8 | * the License, or (at your option) any later version. | |
9 | * | |
10 | * This software is distributed in the hope that it will be useful, | |
11 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | |
12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | |
13 | * Lesser General Public License for more details. | |
14 | * | |
15 | * You should have received a copy of the GNU Lesser General Public | |
16 | * License along with this software; if not, write to the Free | |
17 | * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA | |
18 | * 02110-1301 USA, or see the FSF site: http://www.fsf.org. | |
19 | */ | |
20 | package org.xwiki.rendering.transformation.linkchecker; | |
21 | ||
22 | import org.xwiki.observation.event.AbstractFilterableEvent; | |
23 | import org.xwiki.observation.event.filter.EventFilter; | |
24 | ||
25 | /** | |
26 | * An invalid URL has been found (invalid meaning it cannot be reached). | |
27 | * | |
28 | * @version $Id: 1cf1887836a522c74c8d116c5b1b6ba61708b791 $ | |
29 | * @since 3.3M1 | |
30 | */ | |
31 | public class InvalidURLEvent extends AbstractFilterableEvent | |
32 | { | |
33 | /** | |
34 | * The version identifier for this Serializable class. Increment only if the <i>serialized</i> form of the class | |
35 | * changes. | |
36 | */ | |
37 | private static final long serialVersionUID = 1L; | |
38 | ||
39 | /** | |
40 | * Constructor initializing the event filter with an | |
41 | * {@link org.xwiki.observation.event.filter.AlwaysMatchingEventFilter}, meaning that this event will match any | |
42 | * other annotation add event. | |
43 | */ | |
44 | 0 | ![]() |
45 | { | |
46 | 0 | super(); |
47 | } | |
48 | ||
49 | /** | |
50 | * Constructor initializing the event filter with a {@link org.xwiki.observation.event.filter.FixedNameEventFilter}, | |
51 | * meaning that this event will match only events of the same type affecting the same passed name. | |
52 | * | |
53 | * @param url the failing URL | |
54 | */ | |
55 | 3 | ![]() |
56 | { | |
57 | 3 | super(url); |
58 | } | |
59 | ||
60 | /** | |
61 | * Constructor using a custom {@link org.xwiki.observation.event.filter.EventFilter}. | |
62 | * | |
63 | * @param eventFilter the filter to use for matching events | |
64 | */ | |
65 | 0 | ![]() |
66 | { | |
67 | 0 | super(eventFilter); |
68 | } | |
69 | } |