projects
/
jSite2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
add main window as property change listener to project
[jSite2.git]
/
src
/
net
/
pterodactylus
/
jsite
/
core
/
Core.java
diff --git
a/src/net/pterodactylus/jsite/core/Core.java
b/src/net/pterodactylus/jsite/core/Core.java
index
2815e38
..
3e8357d
100644
(file)
--- a/
src/net/pterodactylus/jsite/core/Core.java
+++ b/
src/net/pterodactylus/jsite/core/Core.java
@@
-111,16
+111,15
@@
public interface Core {
public void disconnectFromNode(Node node);
/**
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 IOException
* if an I/O error occured communicating with the node
+ * @throws NoNodeException
+ * if no node is configured
*/
*/
- public Project
addProject(String projectName) throws IO
Exception;
+ public Project
createProject() throws IOException, NoNode
Exception;
}
}