X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;ds=sidebyside;f=src%2Fde%2Ftodesbaum%2Fjsite%2Fmain%2FCLI.java;h=03ddb50382ca4933cd8f686f70df2d7ada822352;hb=a29e0273333d07d173b1f0267baf7a781b73845a;hp=627517c97e11dae081ae8615f914e23111e12160;hpb=0cb56185ab6d47b5755e272dbe2cc55afc4764c3;p=jSite.git
diff --git a/src/de/todesbaum/jsite/main/CLI.java b/src/de/todesbaum/jsite/main/CLI.java
index 627517c..03ddb50 100644
--- a/src/de/todesbaum/jsite/main/CLI.java
+++ b/src/de/todesbaum/jsite/main/CLI.java
@@ -1,5 +1,5 @@
/*
- * jSite -
+ * jSite -
* Copyright (C) 2006 David Roden
*
* This program is free software; you can redistribute it and/or modify
@@ -29,7 +29,7 @@ import de.todesbaum.jsite.application.ProjectInserter;
/**
* Command-line interface for jSite.
- *
+ *
* @author David âBombeâ Roden <bombe@freenetproject.org>
*/
public class CLI implements InsertListener {
@@ -60,7 +60,7 @@ public class CLI implements InsertListener {
/**
* Creates a new command-line interface.
- *
+ *
* @param args
* The command-line arguments
*/
@@ -157,7 +157,7 @@ public class CLI implements InsertListener {
/**
* Returns the project with the given name.
- *
+ *
* @param name
* The name of the project
* @return The project, or null
if no project could be found
@@ -173,7 +173,7 @@ public class CLI implements InsertListener {
/**
* Returns the node with the given name.
- *
+ *
* @param name
* The name of the node
* @return The node, or null
if no node could be found
@@ -189,7 +189,7 @@ public class CLI implements InsertListener {
/**
* Inserts the given project.
- *
+ *
* @param currentProject
* The project to insert
* @return true
if the insert finished successfully,
@@ -228,6 +228,13 @@ public class CLI implements InsertListener {
/**
* {@inheritDoc}
*/
+ public void projectUploadFinished(Project project) {
+ outputWriter.println("Project \"" + project.getName() + "\" has ben uploaded, starting insert...");
+ }
+
+ /**
+ * {@inheritDoc}
+ */
public void projectURIGenerated(Project project, String uri) {
outputWriter.println("URI: " + uri);
}
@@ -257,7 +264,7 @@ public class CLI implements InsertListener {
/**
* Creates a new command-line interface with the given arguments.
- *
+ *
* @param args
* The command-line arguments
*/