continuum-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From car...@apache.org
Subject svn commit: r442470 - /maven/continuum/branches/continuum-acegi/continuum-api/src/main/java/org/apache/maven/continuum/Continuum.java
Date Tue, 12 Sep 2006 06:02:50 GMT
Author: carlos
Date: Mon Sep 11 23:02:49 2006
New Revision: 442470

URL: http://svn.apache.org/viewvc?view=rev&rev=442470
Log:
Add javadocs

Modified:
    maven/continuum/branches/continuum-acegi/continuum-api/src/main/java/org/apache/maven/continuum/Continuum.java

Modified: maven/continuum/branches/continuum-acegi/continuum-api/src/main/java/org/apache/maven/continuum/Continuum.java
URL: http://svn.apache.org/viewvc/maven/continuum/branches/continuum-acegi/continuum-api/src/main/java/org/apache/maven/continuum/Continuum.java?view=diff&rev=442470&r1=442469&r2=442470
==============================================================================
--- maven/continuum/branches/continuum-acegi/continuum-api/src/main/java/org/apache/maven/continuum/Continuum.java
(original)
+++ maven/continuum/branches/continuum-acegi/continuum-api/src/main/java/org/apache/maven/continuum/Continuum.java
Mon Sep 11 23:02:49 2006
@@ -16,24 +16,25 @@
  * limitations under the License.
  */
 
+import java.io.File;
+import java.util.Collection;
+import java.util.List;
+import java.util.Map;
+
 import org.apache.maven.continuum.configuration.ConfigurationService;
+import org.apache.maven.continuum.execution.ContinuumBuildExecutor;
 import org.apache.maven.continuum.model.project.BuildDefinition;
 import org.apache.maven.continuum.model.project.BuildResult;
 import org.apache.maven.continuum.model.project.Project;
+import org.apache.maven.continuum.model.project.ProjectGroup;
 import org.apache.maven.continuum.model.project.ProjectNotifier;
 import org.apache.maven.continuum.model.project.Schedule;
-import org.apache.maven.continuum.model.project.ProjectGroup;
 import org.apache.maven.continuum.model.system.ContinuumUser;
 import org.apache.maven.continuum.model.system.UserGroup;
 import org.apache.maven.continuum.project.builder.ContinuumProjectBuildingResult;
 import org.apache.maven.continuum.security.ContinuumSecurity;
 import org.codehaus.plexus.util.dag.CycleDetectedException;
 
-import java.io.File;
-import java.util.Collection;
-import java.util.List;
-import java.util.Map;
-
 /**
  * @author <a href="mailto:jason@maven.org">Jason van Zyl</a>
  * @author <a href="mailto:trygvis@inamo.no">Trygve Laugst&oslash;l</a>
@@ -50,6 +51,11 @@
     public ProjectGroup getProjectGroup( int projectGroupId )
         throws ContinuumException;
 
+    /**
+     * Get all {@link ProjectGroup}s and their {@link Project}s
+     * 
+     * @return {@link Collection} &lt;{@link ProjectGroup}>
+     */
     public Collection getAllProjectGroupsWithProjects();
 
     public ProjectGroup getProjectGroupByProjectId( int projectId )
@@ -154,6 +160,14 @@
     // Projects
     // ----------------------------------------------------------------------
 
+    /**
+     * Add a project to the list of building projects (ant, shell,...)
+     * 
+     * @param project the project to add
+     * @param executorId the id of an {@link ContinuumBuildExecutor}, eg. <code>ant</code>
or <code>shell</code> 
+     * @return id of the project
+     * @throws ContinuumException
+     */
     int addProject( Project project, String executorId )
         throws ContinuumException;
 



Mime
View raw message