continuum-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ol...@apache.org
Subject svn commit: r645403 - in /continuum/trunk: continuum-api/src/main/java/org/apache/maven/continuum/ continuum-docs/src/site/apt/developer_guides/ continuum-xmlrpc/continuum-xmlrpc-api/src/main/java/org/apache/maven/continuum/xmlrpc/ continuum-xmlrpc/con...
Date Mon, 07 Apr 2008 07:27:15 GMT
Author: olamy
Date: Mon Apr  7 00:27:12 2008
New Revision: 645403

URL: http://svn.apache.org/viewvc?rev=645403&view=rev
Log:
add documentation concerning CONTINUUM-1628
add more java5 

Modified:
    continuum/trunk/continuum-api/src/main/java/org/apache/maven/continuum/Continuum.java
    continuum/trunk/continuum-docs/src/site/apt/developer_guides/xmlrpc.apt
    continuum/trunk/continuum-xmlrpc/continuum-xmlrpc-api/src/main/java/org/apache/maven/continuum/xmlrpc/ContinuumService.java
    continuum/trunk/continuum-xmlrpc/continuum-xmlrpc-client/src/main/java/org/apache/maven/continuum/xmlrpc/client/ContinuumXmlRpcClient.java
    continuum/trunk/continuum-xmlrpc/continuum-xmlrpc-server/src/main/java/org/apache/maven/continuum/xmlrpc/server/ContinuumServiceImpl.java

Modified: continuum/trunk/continuum-api/src/main/java/org/apache/maven/continuum/Continuum.java
URL: http://svn.apache.org/viewvc/continuum/trunk/continuum-api/src/main/java/org/apache/maven/continuum/Continuum.java?rev=645403&r1=645402&r2=645403&view=diff
==============================================================================
--- continuum/trunk/continuum-api/src/main/java/org/apache/maven/continuum/Continuum.java
(original)
+++ continuum/trunk/continuum-api/src/main/java/org/apache/maven/continuum/Continuum.java
Mon Apr  7 00:27:12 2008
@@ -19,7 +19,13 @@
  * under the License.
  */
 
+import java.io.File;
+import java.util.Collection;
+import java.util.List;
+import java.util.Map;
+
 import org.apache.maven.continuum.builddefinition.BuildDefinitionService;
+import org.apache.maven.continuum.buildqueue.BuildProjectTask;
 import org.apache.maven.continuum.configuration.ConfigurationService;
 import org.apache.maven.continuum.installation.InstallationService;
 import org.apache.maven.continuum.model.project.BuildDefinition;
@@ -34,11 +40,6 @@
 import org.apache.maven.continuum.release.ContinuumReleaseManager;
 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>
@@ -136,7 +137,7 @@
     // Queues
     // ----------------------------------------------------------------------
 
-    public List /*BuildProjectTask*/ getProjectsInBuildQueue()
+    public List<BuildProjectTask> getProjectsInBuildQueue()
         throws ContinuumException;
 
     boolean isInBuildingQueue( int projectId )

Modified: continuum/trunk/continuum-docs/src/site/apt/developer_guides/xmlrpc.apt
URL: http://svn.apache.org/viewvc/continuum/trunk/continuum-docs/src/site/apt/developer_guides/xmlrpc.apt?rev=645403&r1=645402&r2=645403&view=diff
==============================================================================
--- continuum/trunk/continuum-docs/src/site/apt/developer_guides/xmlrpc.apt (original)
+++ continuum/trunk/continuum-docs/src/site/apt/developer_guides/xmlrpc.apt Mon Apr  7 00:27:12
2008
@@ -126,6 +126,15 @@
   client.removeBuildResult( br );
 +--------------------------+
 
+* {Editing build queue}
+
+    You can edit all projects which are in the build queue or check if one project is currently
in the build queue.
+
++--------------------------+
+List<BuildProjectTask> prjsInBuildQueue = client.getProjectsInBuildQueue();
+client.isProjectInBuildingQueue( int projectId );
++--------------------------+
+
 * {Backup}
 
     With the Continuum xmlrpc client, you can backup a full Continuum instance (without users
database, for the moment).

Modified: continuum/trunk/continuum-xmlrpc/continuum-xmlrpc-api/src/main/java/org/apache/maven/continuum/xmlrpc/ContinuumService.java
URL: http://svn.apache.org/viewvc/continuum/trunk/continuum-xmlrpc/continuum-xmlrpc-api/src/main/java/org/apache/maven/continuum/xmlrpc/ContinuumService.java?rev=645403&r1=645402&r2=645403&view=diff
==============================================================================
--- continuum/trunk/continuum-xmlrpc/continuum-xmlrpc-api/src/main/java/org/apache/maven/continuum/xmlrpc/ContinuumService.java
(original)
+++ continuum/trunk/continuum-xmlrpc/continuum-xmlrpc-api/src/main/java/org/apache/maven/continuum/xmlrpc/ContinuumService.java
Mon Apr  7 00:27:12 2008
@@ -24,6 +24,7 @@
 import org.apache.maven.continuum.xmlrpc.project.AddingResult;
 import org.apache.maven.continuum.xmlrpc.project.BuildDefinition;
 import org.apache.maven.continuum.xmlrpc.project.BuildDefinitionTemplate;
+import org.apache.maven.continuum.xmlrpc.project.BuildProjectTask;
 import org.apache.maven.continuum.xmlrpc.project.BuildResult;
 import org.apache.maven.continuum.xmlrpc.project.BuildResultSummary;
 import org.apache.maven.continuum.xmlrpc.project.Project;
@@ -589,7 +590,7 @@
      *
      * @throws ContinuumException
      */
-    public List getProjectsInBuildQueue()
+    public List<BuildProjectTask> getProjectsInBuildQueue()
         throws Exception;    
 
     // ----------------------------------------------------------------------

Modified: continuum/trunk/continuum-xmlrpc/continuum-xmlrpc-client/src/main/java/org/apache/maven/continuum/xmlrpc/client/ContinuumXmlRpcClient.java
URL: http://svn.apache.org/viewvc/continuum/trunk/continuum-xmlrpc/continuum-xmlrpc-client/src/main/java/org/apache/maven/continuum/xmlrpc/client/ContinuumXmlRpcClient.java?rev=645403&r1=645402&r2=645403&view=diff
==============================================================================
--- continuum/trunk/continuum-xmlrpc/continuum-xmlrpc-client/src/main/java/org/apache/maven/continuum/xmlrpc/client/ContinuumXmlRpcClient.java
(original)
+++ continuum/trunk/continuum-xmlrpc/continuum-xmlrpc-client/src/main/java/org/apache/maven/continuum/xmlrpc/client/ContinuumXmlRpcClient.java
Mon Apr  7 00:27:12 2008
@@ -23,6 +23,7 @@
 import org.apache.maven.continuum.xmlrpc.project.AddingResult;
 import org.apache.maven.continuum.xmlrpc.project.BuildDefinition;
 import org.apache.maven.continuum.xmlrpc.project.BuildDefinitionTemplate;
+import org.apache.maven.continuum.xmlrpc.project.BuildProjectTask;
 import org.apache.maven.continuum.xmlrpc.project.BuildResult;
 import org.apache.maven.continuum.xmlrpc.project.BuildResultSummary;
 import org.apache.maven.continuum.xmlrpc.project.ContinuumProjectState;
@@ -504,7 +505,7 @@
     // Queue
     // ----------------------------------------------------------------------
 
-    public List getProjectsInBuildQueue()
+    public List<BuildProjectTask> getProjectsInBuildQueue()
         throws Exception
     {
         return continuum.getProjectsInBuildQueue();

Modified: continuum/trunk/continuum-xmlrpc/continuum-xmlrpc-server/src/main/java/org/apache/maven/continuum/xmlrpc/server/ContinuumServiceImpl.java
URL: http://svn.apache.org/viewvc/continuum/trunk/continuum-xmlrpc/continuum-xmlrpc-server/src/main/java/org/apache/maven/continuum/xmlrpc/server/ContinuumServiceImpl.java?rev=645403&r1=645402&r2=645403&view=diff
==============================================================================
--- continuum/trunk/continuum-xmlrpc/continuum-xmlrpc-server/src/main/java/org/apache/maven/continuum/xmlrpc/server/ContinuumServiceImpl.java
(original)
+++ continuum/trunk/continuum-xmlrpc/continuum-xmlrpc-server/src/main/java/org/apache/maven/continuum/xmlrpc/server/ContinuumServiceImpl.java
Mon Apr  7 00:27:12 2008
@@ -794,7 +794,7 @@
         return continuum.isInBuildingQueue( projectId );
     }
 
-    public List getProjectsInBuildQueue()
+    public List<BuildProjectTask> getProjectsInBuildQueue()
         throws ContinuumException
     {
         return populateBuildProjectTaskList( continuum.getProjectsInBuildQueue() );
@@ -804,7 +804,7 @@
     // Converters
     // ----------------------------------------------------------------------
 
-    private List populateBuildProjectTaskList(
+    private List<BuildProjectTask> populateBuildProjectTaskList(
                                                List<org.apache.maven.continuum.buildqueue.BuildProjectTask>
buildProjectTasks )
     {
         List<BuildProjectTask> responses = new ArrayList<BuildProjectTask>();



Mime
View raw message