You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@continuum.apache.org by ws...@apache.org on 2008/03/17 04:17:38 UTC
svn commit: r637704 -
/continuum/trunk/continuum-docs/src/site/apt/developer_guides/xmlrpc.apt
Author: wsmoak
Date: Sun Mar 16 20:17:34 2008
New Revision: 637704
URL: http://svn.apache.org/viewvc?rev=637704&view=rev
Log:
CONTINUUM-1691 CONTINUUM-1692 Document removing projects and build results with xmlrpc.
Modified:
continuum/trunk/continuum-docs/src/site/apt/developer_guides/xmlrpc.apt
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=637704&r1=637703&r2=637704&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 Sun Mar 16 20:17:34 2008
@@ -31,7 +31,7 @@
* {Connection to Continuum}
To connect to your Continuum with the client API, you must use the
- {{{http://maven.apache.org/continuum/ref/latest/apidocs/org/apache/maven/continuum/xmlrpc/client/ContinuumXmlRpcClient.html}ContinuumXmlRpcClient}} class.
+ {{{http://continuum.apache.org/ref/latest/apidocs/org/apache/maven/continuum/xmlrpc/client/ContinuumXmlRpcClient.html}ContinuumXmlRpcClient}} class.
The constructor use 3 parameters:
@@ -104,6 +104,27 @@
To do this, you can write a simple xmlrpc client that will use a project id as parameter and you'll use the <<<buildProject(...)>>> method described above.
This method will start a forced build.
+
+* {Removing a project}
+
+ A project can be removed by supplying the project id.
+
++--------------------------+
+List<ProjectSummary> projects = client.getProjects( projectGroupId );
+...
+ client.removeProject( ps.getId() );
++--------------------------+
+
+* {Removing build results}
+
+ Currently, to remove a build result, you need the entire build result (rather than just the summary).
+
++--------------------------+
+List<BuildResultSummary> results = client.getBuildResultsForProject( ps.getId() );
+...
+ BuildResult br = client.getBuildResult( ps.getId(), brs.getId() );
+ client.removeBuildResult( br );
++--------------------------+
* {Backup}