1 /*
2 * (C)opyright 2010, Nikolaos Georgosopoulos
3 *
4 * This file is part of URLChecker.
5
6 URLChecker is free software: you can redistribute it and/or modify
7 it under the terms of the Lesser General Public License as published by
8 the Free Software Foundation, either version 3 of the License, or
9 (at your option) any later version.
10
11 URLChecker is distributed in the hope that it will be useful,
12 but WITHOUT ANY WARRANTY; without even the implied warranty of
13 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 GNU General Public License for more details.
15
16 You should have received a copy of the Lesser General Public License
17 along with URLChecker. If not, see <http://www.gnu.org/licenses/>.
18
19 */
20 package net.sf.urlchecker.events;
21
22 import net.sf.urlchecker.commands.Command;
23 import net.sf.urlchecker.commands.Context;
24
25 /**
26 * The Interface ChainEvent.
27 *
28 * <p>
29 * <b> $Id: ChainEvent.java 182 2010-12-13 22:51:53Z georgosn $</b>
30 * </p>
31 *
32 * @author $LastChangedBy: georgosn $
33 * @version $LastChangedRevision: 182 $
34 */
35 public interface ChainEvent {
36
37 /**
38 * Gets the command.
39 *
40 * @return the command
41 */
42 Command getCommand();
43
44 /**
45 * Gets the context.
46 *
47 * @return the context
48 */
49 Context getContext();
50
51 /**
52 * Gets the event type.
53 *
54 * @return the event type
55 */
56 EventTypes getEventType();
57 }