create projects in core without name
[jSite2.git] / src / net / pterodactylus / jsite / core / Core.java
index 2815e38..3e8357d 100644 (file)
@@ -111,16 +111,15 @@ public interface Core {
        public void disconnectFromNode(Node node);
 
        /**
-        * Creates a new project with the given name. The returned {@link Project}
-        * will contain a newly generated key pair.
+        * Creates a new project. The returned {@link Project} will contain a newly
+        * generated key pair.
         * 
-        * @param projectName
-        *            The name of the project
-        * @return A newly created project, or <code>null</code> if key generation
-        *         failed
+        * @return A newly created project
         * @throws IOException
         *             if an I/O error occured communicating with the node
+        * @throws NoNodeException
+        *             if no node is configured
         */
-       public Project addProject(String projectName) throws IOException;
+       public Project createProject() throws IOException, NoNodeException;
 
 }