/* * Created on 2 Jun 2008 * Created by Allan Crooks * Copyright (C) 2008 Vuze Inc., All Rights Reserved. * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License * as published by the Free Software Foundation; either version 2 * of the License, or (at your option) any later version. * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ package org.gudy.azureus2.plugins.download; /** * Listener interface to be used for plugins to be notified when downloads * enter a completed state. * * <p><b>Note:</b> This interface is intended to be implemented by plugins.</p> * * @since 3.0.5.3 */ public interface DownloadCompletionListener { /** * Called when a download enters a complete state (previously being * incomplete). * * @param d Download which has been completed. */ public void onCompletion(Download d); }