X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;ds=sidebyside;f=src%2Fde%2Ftodesbaum%2Fjsite%2Fapplication%2FInsertListener.java;h=9b6b3321c3cfb0bbe24278a80232dbbdfc29e455;hb=e47e15fdbb7515f5a3757c3f5df8c1d0950aee8e;hp=65b0602580465eb66b173305d621113dddb4aafe;hpb=bbfa208695e2a7f1bb555f841623945767f296e7;p=jSite.git diff --git a/src/de/todesbaum/jsite/application/InsertListener.java b/src/de/todesbaum/jsite/application/InsertListener.java index 65b0602..9b6b332 100644 --- a/src/de/todesbaum/jsite/application/InsertListener.java +++ b/src/de/todesbaum/jsite/application/InsertListener.java @@ -1,6 +1,5 @@ /* - * jSite - a tool for uploading websites into Freenet - * Copyright (C) 2006 David Roden + * jSite - InsertListener.java - Copyright © 2006–2012 David Roden * * 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 @@ -60,6 +59,15 @@ public interface InsertListener extends EventListener { public void projectInsertStarted(Project project); /** + * Notifies a listener that the upload of a project has finished and the + * inserting will start now. + * + * @param project + * The project that has been uploaded + */ + public void projectUploadFinished(Project project); + + /** * Notifies a listener that a project insert has generated a URI. * * @param project @@ -94,8 +102,8 @@ public interface InsertListener extends EventListener { * @param project * The project being inserted * @param success - * true if the insert succeeded, - * false otherwise + * true if the insert succeeded, false + * otherwise * @param cause * The cause of a failure, if any (may be null) */