implement project cloning
[jSite2.git] / src / net / pterodactylus / jsite / core / Core.java
index 325d4c5..456ddae 100644 (file)
@@ -122,6 +122,16 @@ public interface Core {
        public void createProject() throws IOException, JSiteException;
 
        /**
+        * Clones the given project. {@link CoreListener}s will be notified of the
+        * new clone via the {@link CoreListener#projectCloned(Project, Project)}
+        * event.
+        * 
+        * @param project
+        *            The project to clone
+        */
+       public void cloneProject(Project project);
+
+       /**
         * Removes the given project.
         * 
         * @param project