projects
/
jSite.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Unify copyright file headers, update years to include 2011.
[jSite.git]
/
src
/
de
/
todesbaum
/
jsite
/
application
/
InsertListener.java
diff --git
a/src/de/todesbaum/jsite/application/InsertListener.java
b/src/de/todesbaum/jsite/application/InsertListener.java
index
1371061
..
5386a91
100644
(file)
--- 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–2011 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
*
* 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
@@
-23,14
+22,14
@@
import java.util.EventListener;
/**
* Interface for objects that want to be notified abount insert events.
/**
* Interface for objects that want to be notified abount insert events.
- *
+ *
* @author David ‘Bombe’ Roden <bombe@freenetproject.org>
*/
public interface InsertListener extends EventListener {
/**
* Enumeration for the different error situations.
* @author David ‘Bombe’ Roden <bombe@freenetproject.org>
*/
public interface InsertListener extends EventListener {
/**
* Enumeration for the different error situations.
- *
+ *
* @author David ‘Bombe’ Roden <bombe@freenetproject.org>
*/
public static enum ErrorType {
* @author David ‘Bombe’ Roden <bombe@freenetproject.org>
*/
public static enum ErrorType {
@@
-53,15
+52,24
@@
public interface InsertListener extends EventListener {
/**
* Notifies a listener that an insert has started.
/**
* Notifies a listener that an insert has started.
- *
+ *
* @param project
* The project that is now being inserted
*/
public void projectInsertStarted(Project project);
/**
* @param project
* The project that is now being inserted
*/
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.
* Notifies a listener that a project insert has generated a URI.
- *
+ *
* @param project
* The project being inserted
* @param uri
* @param project
* The project being inserted
* @param uri
@@
-71,7
+79,7
@@
public interface InsertListener extends EventListener {
/**
* Notifies a listener that an insert has made some progress.
/**
* Notifies a listener that an insert has made some progress.
- *
+ *
* @param project
* The project being inserted
* @param succeeded
* @param project
* The project being inserted
* @param succeeded
@@
-90,12
+98,12
@@
public interface InsertListener extends EventListener {
/**
* Notifies a listener that a project insert has finished.
/**
* Notifies a listener that a project insert has finished.
- *
+ *
* @param project
* The project being inserted
* @param success
* @param project
* The project being inserted
* @param success
- * <code>true</code> if the insert succeeded,
- *
<code>false</code>
otherwise
+ * <code>true</code> if the insert succeeded,
<code>false</code>
+ * otherwise
* @param cause
* The cause of a failure, if any (may be <code>null</code>)
*/
* @param cause
* The cause of a failure, if any (may be <code>null</code>)
*/