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 java.util.EventListener; 23 24 /** 25 * This interface allows Listeners on events during the life of a chain of 26 * commands. By implementing this interface a class can listen to events 27 * occurring during the processing of the context by any command that fires 28 * these events. The listener then needs to be added to the command by the 29 * relevant interface method. 30 * 31 * <p> 32 * <b> $Id: ChainListener.java 182 2010-12-13 22:51:53Z georgosn $</b> 33 * </p> 34 * 35 * @author $LastChangedBy: georgosn $ 36 * @version $LastChangedRevision: 182 $ 37 */ 38 public interface ChainListener extends EventListener { 39 40 /** 41 * Fire event. 42 * 43 * @param event 44 * the event 45 */ 46 void fireEvent(ChainEvent event); 47 }