org.apache.maven.continuum.xmlrpc
Interface ContinuumService

Package class diagram package ContinuumService
All Known Implementing Classes:
AbstractContinuumSecureService, ContinuumServiceImpl, ContinuumXmlRpcClient

public interface ContinuumService

Version:
$Id: ContinuumService.java 760328 2009-03-31 04:55:00Z evenisse $
Author:
Emmanuel Venisse

Method Summary
 ProjectSummary addAntProject(ProjectSummary project, int projectGroupId)
          Add an ANT project in the specified group.
 Map<String,Object> addAntProjectRPC(Map<String,Object> project, int projectGroupId)
          Same method but compatible with standard XMLRPC
 BuildDefinition addBuildDefinitionToProject(int projectId, BuildDefinition buildDef)
          Add a project build definition.
 BuildDefinition addBuildDefinitionToProjectGroup(int projectGroupId, BuildDefinition buildDef)
          Add a project group buildDefinition.
 Map<String,Object> addBuildDefinitionToProjectGroupRPC(int projectGroupId, Map<String,Object> buildDef)
          Same method but compatible with standard XMLRPC
 Map<String,Object> addBuildDefinitionToProjectRPC(int projectId, Map<String,Object> buildDef)
          Same method but compatible with standard XMLRPC
 DirectoryPurgeConfiguration addDirectoryPurgeConfiguration(DirectoryPurgeConfiguration dirPurge)
          Add a directory purge configuration
 Map<String,Object> addDirectoryPurgeConfigurationRPC(Map<String,Object> dirPurge)
          Same method but compatible with the standard XMLRPC
 ProjectNotifier addGroupNotifier(int projectgroupid, ProjectNotifier newNotifier)
           
 Map<String,Object> addGroupNotifierRPC(int projectgroupid, Map<String,Object> newNotifier)
           
 Installation addInstallation(Installation installation)
           
 Map<String,Object> addInstallationRPC(Map<String,Object> installation)
           
 LocalRepository addLocalRepository(LocalRepository repository)
          Add a local repository
 Map<String,Object> addLocalRepositoryRPC(Map<String,Object> repository)
          Same method but compatible with the standard XMLRPC
 AddingResult addMavenOneProject(String url, int projectGroupId)
          Add a maven 1.x project from an url.
 Map<String,Object> addMavenOneProjectRPC(String url, int projectGroupId)
          Same method but compatible with standard XMLRPC
 AddingResult addMavenTwoProject(String url)
          Add a maven 2.x project from an url.
 AddingResult addMavenTwoProject(String url, int projectGroupId)
          Add a maven 2.x project from an url.
 Map<String,Object> addMavenTwoProjectRPC(String url)
          Same method but compatible with standard XMLRPC
 Map<String,Object> addMavenTwoProjectRPC(String url, int projectGroupId)
          Same method but compatible with standard XMLRPC
 ProjectNotifier addNotifier(int projectid, ProjectNotifier newNotifier)
           
 Map<String,Object> addNotifierRPC(int projectid, Map<String,Object> newNotifier)
           
 Profile addProfile(Profile profile)
           
 Map<String,Object> addProfileRPC(Map<String,Object> profile)
           
 ProjectGroupSummary addProjectGroup(String groupName, String groupId, String description)
          Add a project Group.
 Map<String,Object> addProjectGroupRPC(String groupName, String groupId, String description)
          Same method but compatible with standard XMLRPC
 int addProjectToBuildQueue(int projectId)
          Add the project to the build queue.
 int addProjectToBuildQueue(int projectId, int buildDefinitionId)
          Add the project to the build queue.
 RepositoryPurgeConfiguration addRepositoryPurgeConfiguration(RepositoryPurgeConfiguration repoPurge)
          Add a repository purge configuration
 Map<String,Object> addRepositoryPurgeConfigurationRPC(Map<String,Object> repoPurge)
          Same method but compatible with the standard XMLRPC
 Schedule addSchedule(Schedule schedule)
          Add the schedule.
 Map<String,Object> addScheduleRPC(Map<String,Object> schedule)
          Same method but compatible with standard XMLRPC
 ProjectSummary addShellProject(ProjectSummary project, int projectGroupId)
          Add an shell project in the specified group.
 Map<String,Object> addShellProjectRPC(Map<String,Object> project, int projectGroupId)
          Same method but compatible with standard XMLRPC
 int buildGroup(int projectGroupId)
          Build the project group with the default build definition.
 int buildGroup(int projectGroupId, int buildDefinitionId)
          Build the project group with the specified build definition.
 int buildProject(int projectId)
          Build the project
 int buildProject(int projectId, int buildDefinitionId)
          Build the project
 boolean cancelCurrentBuild()
          Cancel the current project build
 int deleteInstallation(int installationId)
           
 int deleteProfile(int profileId)
           
 List<DirectoryPurgeConfiguration> getAllDirectoryPurgeConfigurations()
          Returns directory purge configurations list
 List<Object> getAllDirectoryPurgeConfigurationsRPC()
          Same method but compatible with standard XMLRPC
 List<LocalRepository> getAllLocalRepositories()
          Returns all local repositories
 List<Object> getAllLocalRepositoriesRPC()
          Same method but compatible with the standard XMLRPC
 List<ProjectGroupSummary> getAllProjectGroups()
          Get all project groups.
 List<Object> getAllProjectGroupsRPC()
          Same method but compatible with standard XMLRPC
 List<ProjectGroup> getAllProjectGroupsWithAllDetails()
          Get all project groups with all details (project summaries, notifiers, build definitions).
 List<Object> getAllProjectGroupsWithAllDetailsRPC()
          Same method but compatible with standard XMLRPC
 List<ProjectGroup> getAllProjectGroupsWithProjects()
          Deprecated.  
 List<RepositoryPurgeConfiguration> getAllRepositoryPurgeConfigurations()
          Returns repository purge configurations list
 List<Object> getAllRepositoryPurgeConfigurationsRPC()
          Same method but compatible with standard XMLRPC
 List<BuildDefinition> getBuildDefinitionsForProject(int projectId)
          Get the build definitions list of the project.
 List<BuildDefinition> getBuildDefinitionsForProjectGroup(int projectGroupId)
          Get the build definitions list of the project group.
 List<Object> getBuildDefinitionsForProjectGroupRPC(int projectGroupId)
          Same method but compatible with standard XMLRPC
 List<Object> getBuildDefinitionsForProjectRPC(int projectId)
          Same method but compatible with standard XMLRPC
 List<BuildDefinitionTemplate> getBuildDefinitionTemplates()
          Get the build definition templates list.
 List<Object> getBuildDefinitionTemplatesRPC()
          Same method but compatible with standard XMLRPC
 String getBuildOutput(int projectId, int buildId)
          Returns the build output.
 BuildResult getBuildResult(int projectId, int buildId)
          Returns the build result.
 Map<String,Object> getBuildResultRPC(int projectId, int buildId)
          Same method but compatible with standard XMLRPC
 List<BuildResultSummary> getBuildResultsForProject(int projectId)
          Returns the project build result summary list.
 List<Object> getBuildResultsForProjectRPC(int projectId)
          Same method but compatible with standard XMLRPC
 DirectoryPurgeConfiguration getDirectoryPurgeConfiguration(int purgeConfigId)
          Returns the directory purge configuration
 Map<String,Object> getDirectoryPurgeConfigurationRPC(int purgeConfigId)
          Same method but compatible with standard XMLRPC
 ProjectNotifier getGroupNotifier(int projectgroupid, int notifierId)
           
 Map<String,Object> getGroupNotifierRPC(int projectgroupid, int notifierId)
           
 Installation getInstallation(int installationId)
          Return the installation defined by this id.
 Map<String,Object> getInstallationRPC(int installationId)
          Same method but compatible with standard XMLRPC
 List<Installation> getInstallations()
          Return the installations list.
 List<Object> getInstallationsRPC()
          Same method but compatible with standard XMLRPC
 BuildResult getLatestBuildResult(int projectId)
          Returns the latest build result for the project.
 Map<String,Object> getLatestBuildResultRPC(int projectId)
          Same method but compatible with standard XMLRPC
 LocalRepository getLocalRepository(int repositoryId)
          Returns the local repository
 Map<String,Object> getLocalRepositoryRPC(int repositoryId)
          Same method but compatible with the standard XMLRPC
 ProjectNotifier getNotifier(int projectid, int notifierId)
           
 Map<String,Object> getNotifierRPC(int projectid, int notifierId)
           
 Profile getProfile(int profileId)
          Return the profile defined by this id.
 Map<String,Object> getProfileRPC(int profileId)
          Same method but compatible with standard XMLRPC
 List<Profile> getProfiles()
          Return the profiles list.
 List<Object> getProfilesRPC()
          Same method but compatible with standard XMLRPC
 ProjectGroup getProjectGroup(int projectGroupId)
          Get a project groups.
 Map<String,Object> getProjectGroupRPC(int projectGroupId)
          Same method but compatible with standard XMLRPC
 ProjectGroupSummary getProjectGroupSummary(int projectGroupId)
          Get a project group.
 Map<String,Object> getProjectGroupSummaryRPC(int projectGroupId)
          Same method but compatible with standard XMLRPC
 ProjectGroup getProjectGroupWithProjects(int projectGroupId)
          Get a project group with all details.
 Map<String,Object> getProjectGroupWithProjectsRPC(int projectGroupId)
          Same method but compatible with standard XMLRPC
 List<ProjectSummary> getProjects(int projectGroupId)
          Get All projects.
 List<BuildProjectTask> getProjectsInBuildQueue()
          Return projects building queue.
 List<Object> getProjectsRPC(int projectGroupId)
          Same method but compatible with standard XMLRPC
 ProjectSummary getProjectSummary(int projectId)
          Get a project.
 Map<String,Object> getProjectSummaryRPC(int projectId)
          Same method but compatible with standard XMLRPC
 Project getProjectWithAllDetails(int projectId)
          Get a project with all details.
 Map<String,Object> getProjectWithAllDetailsRPC(int projectId)
          Same method but compatible with standard XMLRPC
 String getReleaseOutput(int releaseId)
          Returns the release output.
 ContinuumReleaseResult getReleaseResult(int releaseId)
          Returns the release result.
 Map<String,Object> getReleaseResultRPC(int releaseId)
          Same method but compatible with standard XMLRPC
 List<ContinuumReleaseResult> getReleaseResultsForProjectGroup(int projectGroupId)
          Returns the project group release result list.
 List<Object> getReleaseResultsForProjectGroupRPC(int projectGroupId)
          Same method but compatible with standard XMLRPC
 RepositoryPurgeConfiguration getRepositoryPurgeConfiguration(int repoPurgeId)
          Returns the repository purge configuration
 Map<String,Object> getRepositoryPurgeConfigurationRPC(int purgeConfigId)
          Same method but compatible with standard XMLRPC
 Schedule getSchedule(int scheduleId)
          Return the schedule defined by this id.
 Map<String,Object> getScheduleRPC(int scheduleId)
          Same method but compatible with standard XMLRPC
 List<Schedule> getSchedules()
          Return the schedules list.
 List<Object> getSchedulesRPC()
          Same method but compatible with standard XMLRPC
 SystemConfiguration getSystemConfiguration()
           
 Map<String,Object> getSystemConfigurationRPC()
           
 boolean isProjectInBuildingQueue(int projectId)
          Return true is the project is in building queue.
 boolean ping()
           
 void purgeDirectory(int dirPurgeId)
           
 void purgeLocalRepository(int repoPurgeId)
           
 int removeBuildDefinitionFromProjectGroup(int projectGroupId, int buildDefinitionId)
           
 int removeBuildResult(BuildResult br)
          Remove the project build result.
 int removeBuildResultRPC(Map<String,Object> br)
          Same method but compatible with standard XMLRPC
 int removeDirectoryPurgeConfiguration(int dirPurgeId)
          Removes the directory purge configuration
 int removeGroupNotifier(int projectgroupid, int notifierId)
           
 int removeLocalRepository(int repositoryId)
          Remove the local repository
 int removeNotifier(int projectid, int notifierId)
           
 int removeProject(int projectId)
          Remove a project.
 int removeProjectGroup(int projectGroupId)
          Remove a project group.
 int removeProjectsFromBuildingQueue(int[] projectsId)
          Remove projects from build queue
 int removeReleaseResult(ContinuumReleaseResult releaseResult)
          Remove the project release result.
 int removeReleaseResultRPC(Map<String,Object> rr)
          Same method but compatible with standard XMLRPC
 int removeRepositoryPurgeConfiguration(int repoPurgeId)
          Remove repository purge configuration
 BuildDefinition updateBuildDefinitionForProject(int projectId, BuildDefinition buildDef)
          Update a project build definition.
 BuildDefinition updateBuildDefinitionForProjectGroup(int projectGroupId, BuildDefinition buildDef)
          Update a project group build definition.
 Map<String,Object> updateBuildDefinitionForProjectGroupRPC(int projectGroupId, Map<String,Object> buildDef)
          Same method but compatible with standard XMLRPC
 Map<String,Object> updateBuildDefinitionForProjectRPC(int projectId, Map<String,Object> buildDef)
          Same method but compatible with standard XMLRPC
 int updateDirectoryPurgeConfiguration(DirectoryPurgeConfiguration dirPurge)
          Update the directory purge configuration
 int updateDirectoryPurgeConfigurationRPC(Map<String,Object> dirPurge)
          Same method but compatible with the standard XMLRPC
 ProjectNotifier updateGroupNotifier(int projectgroupid, ProjectNotifier newNotifier)
           
 Map<String,Object> updateGroupNotifierRPC(int projectgroupid, Map<String,Object> newNotifier)
           
 int updateInstallation(Installation installation)
           
 int updateInstallationRPC(Map<String,Object> installation)
           
 int updateLocalRepository(LocalRepository repository)
          Update the local repository
 int updateLocalRepositoryRPC(Map<String,Object> repository)
          Same method but compatible with the standard XMLRPC
 ProjectNotifier updateNotifier(int projectid, ProjectNotifier newNotifier)
           
 Map<String,Object> updateNotifierRPC(int projectid, Map<String,Object> newNotifier)
           
 int updateProfile(Profile profile)
           
 int updateProfileRPC(Map<String,Object> profile)
           
 ProjectSummary updateProject(ProjectSummary project)
          Update a project.
 ProjectGroupSummary updateProjectGroup(ProjectGroupSummary projectGroup)
          Update a project Group.
 Map<String,Object> updateProjectGroupRPC(Map<String,Object> projectGroup)
          Same method but compatible with standard XMLRPC
 Map<String,Object> updateProjectRPC(Map<String,Object> project)
          Same method but compatible with standard XMLRPC
 int updateRepositoryPurgeConfiguration(RepositoryPurgeConfiguration repoPurge)
          Update the repository purge configuration
 int updateRepositoryPurgeConfigurationRPC(Map<String,Object> repoPurge)
          Same method but compatible with the standard XMLRPC
 Schedule updateSchedule(Schedule schedule)
          Update the schedule.
 Map<String,Object> updateScheduleRPC(Map<String,Object> schedule)
          Same method but compatible with standard XMLRPC
 

Method Detail

getProjects

List<ProjectSummary> getProjects(int projectGroupId)
                                 throws Exception
Get All projects.

Parameters:
projectGroupId - The project group Id
Returns:
List of ProjectSummary
Throws:
Exception
org.apache.xmlrpc.XmlRpcException

getProjectsRPC

List<Object> getProjectsRPC(int projectGroupId)
                            throws Exception
Same method but compatible with standard XMLRPC

Parameters:
projectGroupId - The project group Id
Returns:
List of ProjectSummary as RPC value
Throws:
Exception

getProjectSummary

ProjectSummary getProjectSummary(int projectId)
                                 throws Exception
Get a project.

Parameters:
projectId - the project id
Returns:
The project summary
Throws:
Exception

getProjectSummaryRPC

Map<String,Object> getProjectSummaryRPC(int projectId)
                                        throws Exception
Same method but compatible with standard XMLRPC

Parameters:
projectId - the project id
Returns:
The project summary as RPC value
Throws:
Exception

getProjectWithAllDetails

Project getProjectWithAllDetails(int projectId)
                                 throws Exception
Get a project with all details.

Parameters:
projectId - The project id
Returns:
The project
Throws:
Exception

getProjectWithAllDetailsRPC

Map<String,Object> getProjectWithAllDetailsRPC(int projectId)
                                               throws Exception
Same method but compatible with standard XMLRPC

Parameters:
projectId - the project id
Returns:
The project as RPC value
Throws:
Exception

removeProject

int removeProject(int projectId)
                  throws Exception
Remove a project.

Parameters:
projectId - The project id
Throws:
Exception

updateProject

ProjectSummary updateProject(ProjectSummary project)
                             throws Exception
Update a project. Useful to change the scm parameters.

Parameters:
project - The project to update
Throws:
Exception

updateProjectRPC

Map<String,Object> updateProjectRPC(Map<String,Object> project)
                                    throws Exception
Same method but compatible with standard XMLRPC

Parameters:
project - The project to update
Returns:
The project as RPC value
Throws:
Exception

getProjectGroup

ProjectGroup getProjectGroup(int projectGroupId)
                             throws Exception
Get a project groups.

Parameters:
projectGroupId - the id
Returns:
project group
Throws:
Exception

getProjectGroupRPC

Map<String,Object> getProjectGroupRPC(int projectGroupId)
                                      throws Exception
Same method but compatible with standard XMLRPC

Parameters:
projectGroupId - the id
Returns:
project group as RPC value
Throws:
Exception

getAllProjectGroups

List<ProjectGroupSummary> getAllProjectGroups()
                                              throws Exception
Get all project groups.

Returns:
All project groups
Throws:
Exception

getAllProjectGroupsRPC

List<Object> getAllProjectGroupsRPC()
                                    throws Exception
Same method but compatible with standard XMLRPC

Returns:
List of ProjectGroupSummary as RPC value
Throws:
Exception

getAllProjectGroupsWithAllDetails

List<ProjectGroup> getAllProjectGroupsWithAllDetails()
                                                     throws Exception
Get all project groups with all details (project summaries, notifiers, build definitions).

Returns:
All project groups
Throws:
Exception

getAllProjectGroupsWithAllDetailsRPC

List<Object> getAllProjectGroupsWithAllDetailsRPC()
                                                  throws Exception
Same method but compatible with standard XMLRPC

Returns:
List of ProjectGroup as RPC value
Throws:
Exception

getAllProjectGroupsWithProjects

List<ProjectGroup> getAllProjectGroupsWithProjects()
                                                   throws Exception
Deprecated. 

Get all project groups with all details.

Returns:
All project groups
Throws:
Exception

getProjectGroupSummary

ProjectGroupSummary getProjectGroupSummary(int projectGroupId)
                                           throws Exception
Get a project group.

Parameters:
projectGroupId - The project group id
Returns:
The project group summary
Throws:
Exception

getProjectGroupSummaryRPC

Map<String,Object> getProjectGroupSummaryRPC(int projectGroupId)
                                             throws Exception
Same method but compatible with standard XMLRPC

Parameters:
projectGroupId - The project group id
Returns:
The project group summary as RPC value
Throws:
Exception

getProjectGroupWithProjects

ProjectGroup getProjectGroupWithProjects(int projectGroupId)
                                         throws Exception
Get a project group with all details.

Parameters:
projectGroupId - The project group id
Returns:
The project group
Throws:
Exception

getProjectGroupWithProjectsRPC

Map<String,Object> getProjectGroupWithProjectsRPC(int projectGroupId)
                                                  throws Exception
Same method but compatible with standard XMLRPC

Parameters:
projectGroupId - The project group id
Returns:
The project group as RPC value
Throws:
Exception

removeProjectGroup

int removeProjectGroup(int projectGroupId)
                       throws Exception
Remove a project group.

Parameters:
projectGroupId - The project group id
Throws:
Exception

updateProjectGroup

ProjectGroupSummary updateProjectGroup(ProjectGroupSummary projectGroup)
                                       throws Exception
Update a project Group.

Parameters:
projectGroup - The project group to update
Throws:
Exception

updateProjectGroupRPC

Map<String,Object> updateProjectGroupRPC(Map<String,Object> projectGroup)
                                         throws Exception
Same method but compatible with standard XMLRPC

Parameters:
projectGroup - The project group to update
Returns:
The project group as RPC value
Throws:
Exception

addProjectGroup

ProjectGroupSummary addProjectGroup(String groupName,
                                    String groupId,
                                    String description)
                                    throws Exception
Add a project Group.

Parameters:
groupName - The project group name
groupId - The project group id
description - The project group description
Returns:
the project group summary of the created project group
Throws:
Exception

removeBuildDefinitionFromProjectGroup

int removeBuildDefinitionFromProjectGroup(int projectGroupId,
                                          int buildDefinitionId)
                                          throws Exception
Throws:
Exception

addProjectGroupRPC

Map<String,Object> addProjectGroupRPC(String groupName,
                                      String groupId,
                                      String description)
                                      throws Exception
Same method but compatible with standard XMLRPC

Parameters:
groupName - The project group name
groupId - The project group id
description - The project group description
Returns:
the project group summary of the created project group as RPC value
Throws:
Exception

getNotifier

ProjectNotifier getNotifier(int projectid,
                            int notifierId)
                            throws Exception
Throws:
Exception

getNotifierRPC

Map<String,Object> getNotifierRPC(int projectid,
                                  int notifierId)
                                  throws Exception
Throws:
Exception

getGroupNotifier

ProjectNotifier getGroupNotifier(int projectgroupid,
                                 int notifierId)
                                 throws Exception
Throws:
Exception

getGroupNotifierRPC

Map<String,Object> getGroupNotifierRPC(int projectgroupid,
                                       int notifierId)
                                       throws Exception
Throws:
Exception

updateGroupNotifier

ProjectNotifier updateGroupNotifier(int projectgroupid,
                                    ProjectNotifier newNotifier)
                                    throws Exception
Throws:
Exception

updateGroupNotifierRPC

Map<String,Object> updateGroupNotifierRPC(int projectgroupid,
                                          Map<String,Object> newNotifier)
                                          throws Exception
Throws:
Exception

updateNotifier

ProjectNotifier updateNotifier(int projectid,
                               ProjectNotifier newNotifier)
                               throws Exception
Throws:
Exception

updateNotifierRPC

Map<String,Object> updateNotifierRPC(int projectid,
                                     Map<String,Object> newNotifier)
                                     throws Exception
Throws:
Exception

removeGroupNotifier

int removeGroupNotifier(int projectgroupid,
                        int notifierId)
                        throws Exception
Throws:
Exception

removeNotifier

int removeNotifier(int projectid,
                   int notifierId)
                   throws Exception
Throws:
Exception

addNotifier

ProjectNotifier addNotifier(int projectid,
                            ProjectNotifier newNotifier)
                            throws Exception
Throws:
Exception

addGroupNotifier

ProjectNotifier addGroupNotifier(int projectgroupid,
                                 ProjectNotifier newNotifier)
                                 throws Exception
Throws:
Exception

addNotifierRPC

Map<String,Object> addNotifierRPC(int projectid,
                                  Map<String,Object> newNotifier)
                                  throws Exception
Throws:
Exception

addGroupNotifierRPC

Map<String,Object> addGroupNotifierRPC(int projectgroupid,
                                       Map<String,Object> newNotifier)
                                       throws Exception
Throws:
Exception

getBuildDefinitionsForProject

List<BuildDefinition> getBuildDefinitionsForProject(int projectId)
                                                    throws Exception
Get the build definitions list of the project.

Parameters:
projectId - The project id
Returns:
The build definitions list
Throws:
Exception

getBuildDefinitionsForProjectRPC

List<Object> getBuildDefinitionsForProjectRPC(int projectId)
                                              throws Exception
Same method but compatible with standard XMLRPC

Parameters:
projectId - The project id
Returns:
The build definitions list as RPC value
Throws:
Exception

getBuildDefinitionsForProjectGroup

List<BuildDefinition> getBuildDefinitionsForProjectGroup(int projectGroupId)
                                                         throws Exception
Get the build definitions list of the project group.

Parameters:
projectGroupId - The project group id
Returns:
The build definitions list
Throws:
Exception

getBuildDefinitionsForProjectGroupRPC

List<Object> getBuildDefinitionsForProjectGroupRPC(int projectGroupId)
                                                   throws Exception
Same method but compatible with standard XMLRPC

Parameters:
projectGroupId - The project group id
Returns:
The build definitions list as RPC value
Throws:
Exception

updateBuildDefinitionForProject

BuildDefinition updateBuildDefinitionForProject(int projectId,
                                                BuildDefinition buildDef)
                                                throws Exception
Update a project build definition.

Parameters:
projectId - The project id
buildDef - The build defintion to update
Returns:
the updated build definition
Throws:
Exception

updateBuildDefinitionForProjectRPC

Map<String,Object> updateBuildDefinitionForProjectRPC(int projectId,
                                                      Map<String,Object> buildDef)
                                                      throws Exception
Same method but compatible with standard XMLRPC

Parameters:
projectId - The project id
buildDef - The build defintion to update
Returns:
the updated build definition as RPC value
Throws:
Exception

updateBuildDefinitionForProjectGroup

BuildDefinition updateBuildDefinitionForProjectGroup(int projectGroupId,
                                                     BuildDefinition buildDef)
                                                     throws Exception
Update a project group build definition.

Parameters:
projectGroupId - The project group id
buildDef - The build defintion to update
Returns:
the updated build definition
Throws:
Exception

updateBuildDefinitionForProjectGroupRPC

Map<String,Object> updateBuildDefinitionForProjectGroupRPC(int projectGroupId,
                                                           Map<String,Object> buildDef)
                                                           throws Exception
Same method but compatible with standard XMLRPC

Parameters:
projectGroupId - The project group id
buildDef - The build defintion to update
Returns:
the updated build definition as RPC value
Throws:
Exception

addBuildDefinitionToProject

BuildDefinition addBuildDefinitionToProject(int projectId,
                                            BuildDefinition buildDef)
                                            throws Exception
Add a project build definition.

Parameters:
projectId - The project id
buildDef - The build defintion to update
Returns:
the added build definition
Throws:
Exception

addBuildDefinitionToProjectRPC

Map<String,Object> addBuildDefinitionToProjectRPC(int projectId,
                                                  Map<String,Object> buildDef)
                                                  throws Exception
Same method but compatible with standard XMLRPC

Parameters:
projectId - The project id
buildDef - The build defintion to update
Returns:
the added build definition as RPC value
Throws:
Exception

addBuildDefinitionToProjectGroup

BuildDefinition addBuildDefinitionToProjectGroup(int projectGroupId,
                                                 BuildDefinition buildDef)
                                                 throws Exception
Add a project group buildDefinition.

Parameters:
projectGroupId - The project group id
buildDef - The build defintion to update
Returns:
the build definition added
Throws:
Exception

addBuildDefinitionToProjectGroupRPC

Map<String,Object> addBuildDefinitionToProjectGroupRPC(int projectGroupId,
                                                       Map<String,Object> buildDef)
                                                       throws Exception
Same method but compatible with standard XMLRPC

Parameters:
projectGroupId - The project group id
buildDef - The build defintion to update
Returns:
the added build definition as RPC value
Throws:
Exception

getBuildDefinitionTemplates

List<BuildDefinitionTemplate> getBuildDefinitionTemplates()
                                                          throws Exception
Get the build definition templates list.

Returns:
The build definitions templates list
Throws:
Exception

getBuildDefinitionTemplatesRPC

List<Object> getBuildDefinitionTemplatesRPC()
                                            throws Exception
Same method but compatible with standard XMLRPC

Returns:
The build definitions templates list as RPC value
Throws:
Exception

addProjectToBuildQueue

int addProjectToBuildQueue(int projectId)
                           throws Exception
Add the project to the build queue.

Parameters:
projectId - The project id
Throws:
Exception

addProjectToBuildQueue

int addProjectToBuildQueue(int projectId,
                           int buildDefinitionId)
                           throws Exception
Add the project to the build queue.

Parameters:
projectId - The project id
buildDefinitionId - The build definition id
Throws:
Exception

buildProject

int buildProject(int projectId)
                 throws Exception
Build the project

Parameters:
projectId - The project id
Throws:
Exception

buildProject

int buildProject(int projectId,
                 int buildDefinitionId)
                 throws Exception
Build the project

Parameters:
projectId - The project id
buildDefinitionId - The build definition id
Throws:
Exception

buildGroup

int buildGroup(int projectGroupId)
               throws Exception
Build the project group with the default build definition.

Parameters:
projectGroupId - The project group id
Throws:
Exception

buildGroup

int buildGroup(int projectGroupId,
               int buildDefinitionId)
               throws Exception
Build the project group with the specified build definition.

Parameters:
projectGroupId - The project group id
buildDefinitionId - The build definition id
Throws:
Exception

getLatestBuildResult

BuildResult getLatestBuildResult(int projectId)
                                 throws Exception
Returns the latest build result for the project.

Parameters:
projectId - The project id
Returns:
The build result
Throws:
Exception

getLatestBuildResultRPC

Map<String,Object> getLatestBuildResultRPC(int projectId)
                                           throws Exception
Same method but compatible with standard XMLRPC

Parameters:
projectId - The project id
Returns:
The build result as RPC value
Throws:
Exception

getBuildResult

BuildResult getBuildResult(int projectId,
                           int buildId)
                           throws Exception
Returns the build result.

Parameters:
projectId - The project id
buildId - The build id
Returns:
The build result
Throws:
Exception

getBuildResultRPC

Map<String,Object> getBuildResultRPC(int projectId,
                                     int buildId)
                                     throws Exception
Same method but compatible with standard XMLRPC

Parameters:
projectId - The project id
buildId - The build id
Returns:
The build result as RPC value
Throws:
Exception

getBuildResultsForProject

List<BuildResultSummary> getBuildResultsForProject(int projectId)
                                                   throws Exception
Returns the project build result summary list.

Parameters:
projectId - The project id
Returns:
The build result list
Throws:
Exception

getBuildResultsForProjectRPC

List<Object> getBuildResultsForProjectRPC(int projectId)
                                          throws Exception
Same method but compatible with standard XMLRPC

Parameters:
projectId - The project id
Returns:
The build result list as RPC value
Throws:
Exception

removeBuildResult

int removeBuildResult(BuildResult br)
                      throws Exception
Remove the project build result.

Parameters:
br - The project build result
Returns:
0
Throws:
Exception

removeBuildResultRPC

int removeBuildResultRPC(Map<String,Object> br)
                         throws Exception
Same method but compatible with standard XMLRPC

Parameters:
br - The project build result
Returns:
0
Throws:
Exception

getBuildOutput

String getBuildOutput(int projectId,
                      int buildId)
                      throws Exception
Returns the build output.

Parameters:
projectId - The project id
buildId - The build id
Returns:
The build output
Throws:
Exception

addMavenTwoProject

AddingResult addMavenTwoProject(String url)
                                throws Exception
Add a maven 2.x project from an url.

Parameters:
url - The POM url
Returns:
The result of the action with the list of projects created
Throws:
Exception

addMavenTwoProjectRPC

Map<String,Object> addMavenTwoProjectRPC(String url)
                                         throws Exception
Same method but compatible with standard XMLRPC

Parameters:
url - The POM url
Returns:
The result of the action with the list of projects created as RPC value
Throws:
Exception

addMavenTwoProject

AddingResult addMavenTwoProject(String url,
                                int projectGroupId)
                                throws Exception
Add a maven 2.x project from an url.

Parameters:
url - The POM url
projectGroupId - The id of the group where projects will be stored
Returns:
The result of the action with the list of projects created
Throws:
Exception

addMavenTwoProjectRPC

Map<String,Object> addMavenTwoProjectRPC(String url,
                                         int projectGroupId)
                                         throws Exception
Same method but compatible with standard XMLRPC

Parameters:
url - The POM url
projectGroupId - The id of the group where projects will be stored
Returns:
The result of the action with the list of projects created as RPC value
Throws:
Exception

addMavenOneProject

AddingResult addMavenOneProject(String url,
                                int projectGroupId)
                                throws Exception
Add a maven 1.x project from an url.

Parameters:
url - The POM url
projectGroupId - The id of the group where projects will be stored
Returns:
The result of the action with the list of projects created
Throws:
Exception

addMavenOneProjectRPC

Map<String,Object> addMavenOneProjectRPC(String url,
                                         int projectGroupId)
                                         throws Exception
Same method but compatible with standard XMLRPC

Parameters:
url - The POM url
projectGroupId - The id of the group where projects will be stored
Returns:
The result of the action with the list of projects created as RPC value
Throws:
Exception

addAntProject

ProjectSummary addAntProject(ProjectSummary project,
                             int projectGroupId)
                             throws Exception
Add an ANT project in the specified group.

Parameters:
project - The project to add. name, version and scm informations are required
projectGroupId - The id of the group where projects will be stored
Returns:
The project populated with the id.
Throws:
Exception

addAntProjectRPC

Map<String,Object> addAntProjectRPC(Map<String,Object> project,
                                    int projectGroupId)
                                    throws Exception
Same method but compatible with standard XMLRPC

Parameters:
project - The project to add. name, version and scm informations are required
projectGroupId - The id of the group where projects will be stored
Returns:
The project populated with the id as RPC value
Throws:
Exception

addShellProject

ProjectSummary addShellProject(ProjectSummary project,
                               int projectGroupId)
                               throws Exception
Add an shell project in the specified group.

Parameters:
project - The project to add. name, version and scm informations are required
projectGroupId - The id of the group where projects will be stored
Returns:
The project populated with the id.
Throws:
Exception

addShellProjectRPC

Map<String,Object> addShellProjectRPC(Map<String,Object> project,
                                      int projectGroupId)
                                      throws Exception
Same method but compatible with standard XMLRPC

Parameters:
project - The project to add. name, version and scm informations are required
projectGroupId - The id of the group where projects will be stored
Returns:
The project populated with the id as RPC value
Throws:
Exception

getSchedules

List<Schedule> getSchedules()
                            throws Exception
Return the schedules list.

Returns:
The schedule list.
Throws:
Exception

getSchedulesRPC

List<Object> getSchedulesRPC()
                             throws Exception
Same method but compatible with standard XMLRPC

Returns:
The schedule list as RPC value.
Throws:
Exception

getSchedule

Schedule getSchedule(int scheduleId)
                     throws Exception
Return the schedule defined by this id.

Parameters:
scheduleId - The schedule id
Returns:
The schedule.
Throws:
Exception

getScheduleRPC

Map<String,Object> getScheduleRPC(int scheduleId)
                                  throws Exception
Same method but compatible with standard XMLRPC

Parameters:
scheduleId - The schedule id
Returns:
The schedule as RPC value.
Throws:
Exception

addSchedule

Schedule addSchedule(Schedule schedule)
                     throws Exception
Add the schedule.

Parameters:
schedule - The schedule
Returns:
The schedule.
Throws:
Exception

addScheduleRPC

Map<String,Object> addScheduleRPC(Map<String,Object> schedule)
                                  throws Exception
Same method but compatible with standard XMLRPC

Parameters:
schedule - The schedule
Returns:
The schedule as RPC value.
Throws:
Exception

updateSchedule

Schedule updateSchedule(Schedule schedule)
                        throws Exception
Update the schedule.

Parameters:
schedule - The schedule
Returns:
The schedule.
Throws:
Exception

updateScheduleRPC

Map<String,Object> updateScheduleRPC(Map<String,Object> schedule)
                                     throws Exception
Same method but compatible with standard XMLRPC

Parameters:
schedule - The schedule
Returns:
The schedule as RPC value.
Throws:
Exception

getProfiles

List<Profile> getProfiles()
                          throws Exception
Return the profiles list.

Returns:
The profiles list.
Throws:
Exception

getProfilesRPC

List<Object> getProfilesRPC()
                            throws Exception
Same method but compatible with standard XMLRPC

Returns:
The profiles list as RPC value.
Throws:
Exception

getProfile

Profile getProfile(int profileId)
                   throws Exception
Return the profile defined by this id.

Parameters:
profileId - The profile id
Returns:
The profile.
Throws:
Exception

getProfileRPC

Map<String,Object> getProfileRPC(int profileId)
                                 throws Exception
Same method but compatible with standard XMLRPC

Parameters:
profileId - The profile id
Returns:
The profile.
Throws:
Exception

addProfile

Profile addProfile(Profile profile)
                   throws Exception
Throws:
Exception

updateProfile

int updateProfile(Profile profile)
                  throws Exception
Throws:
Exception

deleteProfile

int deleteProfile(int profileId)
                  throws Exception
Throws:
Exception

addProfileRPC

Map<String,Object> addProfileRPC(Map<String,Object> profile)
                                 throws Exception
Throws:
Exception

updateProfileRPC

int updateProfileRPC(Map<String,Object> profile)
                     throws Exception
Throws:
Exception

getInstallations

List<Installation> getInstallations()
                                    throws Exception
Return the installations list.

Returns:
The installations list.
Throws:
Exception

getInstallationsRPC

List<Object> getInstallationsRPC()
                                 throws Exception
Same method but compatible with standard XMLRPC

Returns:
The installations list.
Throws:
Exception

getInstallation

Installation getInstallation(int installationId)
                             throws Exception
Return the installation defined by this id.

Parameters:
installationId - The installation id
Returns:
The installation.
Throws:
Exception

getInstallationRPC

Map<String,Object> getInstallationRPC(int installationId)
                                      throws Exception
Same method but compatible with standard XMLRPC

Parameters:
installationId - The installation id
Returns:
The installation.
Throws:
Exception

addInstallation

Installation addInstallation(Installation installation)
                             throws Exception
Throws:
Exception

updateInstallation

int updateInstallation(Installation installation)
                       throws Exception
Throws:
Exception

deleteInstallation

int deleteInstallation(int installationId)
                       throws Exception
Throws:
Exception

addInstallationRPC

Map<String,Object> addInstallationRPC(Map<String,Object> installation)
                                      throws Exception
Throws:
Exception

updateInstallationRPC

int updateInstallationRPC(Map<String,Object> installation)
                          throws Exception
Throws:
Exception

getSystemConfiguration

SystemConfiguration getSystemConfiguration()
                                           throws Exception
Throws:
Exception

getSystemConfigurationRPC

Map<String,Object> getSystemConfigurationRPC()
                                             throws Exception
Throws:
Exception

isProjectInBuildingQueue

boolean isProjectInBuildingQueue(int projectId)
                                 throws Exception
Return true is the project is in building queue.

Parameters:
projectGroupId - The project group id
Throws:
ContinuumException
Exception

getProjectsInBuildQueue

List<BuildProjectTask> getProjectsInBuildQueue()
                                               throws Exception
Return projects building queue.

Throws:
ContinuumException
Exception

removeProjectsFromBuildingQueue

int removeProjectsFromBuildingQueue(int[] projectsId)
                                    throws Exception
Remove projects from build queue

Parameters:
projectsId - project id to be removed from the building queue
Returns:
Throws:
Exception

cancelCurrentBuild

boolean cancelCurrentBuild()
                           throws Exception
Cancel the current project build

Returns:
Throws:
Exception

ping

boolean ping()
             throws Exception
Throws:
Exception

addLocalRepository

LocalRepository addLocalRepository(LocalRepository repository)
                                   throws Exception
Add a local repository

Parameters:
repository - the local repository to add
Returns:
Throws:
Exception

addLocalRepositoryRPC

Map<String,Object> addLocalRepositoryRPC(Map<String,Object> repository)
                                         throws Exception
Same method but compatible with the standard XMLRPC

Parameters:
repository - the local repository to add
Returns:
Throws:
Exception

updateLocalRepository

int updateLocalRepository(LocalRepository repository)
                          throws Exception
Update the local repository

Parameters:
repository - the local repository to update
Returns:
Throws:
Exception

updateLocalRepositoryRPC

int updateLocalRepositoryRPC(Map<String,Object> repository)
                             throws Exception
Same method but compatible with the standard XMLRPC

Parameters:
repository - the local repository to update
Returns:
Throws:
Exception

removeLocalRepository

int removeLocalRepository(int repositoryId)
                          throws Exception
Remove the local repository

Parameters:
repositoryId -
Returns:
Throws:
Exception

getLocalRepository

LocalRepository getLocalRepository(int repositoryId)
                                   throws Exception
Returns the local repository

Parameters:
repositoryId - the local repository id
Returns:
Throws:
Exception

getLocalRepositoryRPC

Map<String,Object> getLocalRepositoryRPC(int repositoryId)
                                         throws Exception
Same method but compatible with the standard XMLRPC

Parameters:
repositoryId -
Returns:
Throws:
Exception

getAllLocalRepositories

List<LocalRepository> getAllLocalRepositories()
                                              throws Exception
Returns all local repositories

Returns:
Throws:
Exception

getAllLocalRepositoriesRPC

List<Object> getAllLocalRepositoriesRPC()
                                        throws Exception
Same method but compatible with the standard XMLRPC

Returns:
Throws:
Exception

addRepositoryPurgeConfiguration

RepositoryPurgeConfiguration addRepositoryPurgeConfiguration(RepositoryPurgeConfiguration repoPurge)
                                                             throws Exception
Add a repository purge configuration

Parameters:
repoPurge - the repository purge configuration
Returns:
Throws:
Exception

addRepositoryPurgeConfigurationRPC

Map<String,Object> addRepositoryPurgeConfigurationRPC(Map<String,Object> repoPurge)
                                                      throws Exception
Same method but compatible with the standard XMLRPC

Parameters:
repoPurge - the repository purge configuration
Returns:
Throws:
Exception

updateRepositoryPurgeConfiguration

int updateRepositoryPurgeConfiguration(RepositoryPurgeConfiguration repoPurge)
                                       throws Exception
Update the repository purge configuration

Parameters:
repoPurge - the repository purge configuration
Returns:
Throws:
Exception

updateRepositoryPurgeConfigurationRPC

int updateRepositoryPurgeConfigurationRPC(Map<String,Object> repoPurge)
                                          throws Exception
Same method but compatible with the standard XMLRPC

Parameters:
repoPurge - the repository purge configuration
Returns:
Throws:
Exception

removeRepositoryPurgeConfiguration

int removeRepositoryPurgeConfiguration(int repoPurgeId)
                                       throws Exception
Remove repository purge configuration

Parameters:
repoPurgeId - the repository purge configuration id
Returns:
Throws:
Exception

getRepositoryPurgeConfiguration

RepositoryPurgeConfiguration getRepositoryPurgeConfiguration(int repoPurgeId)
                                                             throws Exception
Returns the repository purge configuration

Parameters:
purgeConfigId - the repository purge configuration id
Returns:
the repository purge configuration
Throws:
Exception

getRepositoryPurgeConfigurationRPC

Map<String,Object> getRepositoryPurgeConfigurationRPC(int purgeConfigId)
                                                      throws Exception
Same method but compatible with standard XMLRPC

Parameters:
purgeConfigId - the repository purge configuration id
Returns:
the repository purge configuration
Throws:
Exception

getAllRepositoryPurgeConfigurations

List<RepositoryPurgeConfiguration> getAllRepositoryPurgeConfigurations()
                                                                       throws Exception
Returns repository purge configurations list

Returns:
list of repository purge configurations
Throws:
Exception

getAllRepositoryPurgeConfigurationsRPC

List<Object> getAllRepositoryPurgeConfigurationsRPC()
                                                    throws Exception
Same method but compatible with standard XMLRPC

Returns:
list of repository purge configurations
Throws:
Exception

addDirectoryPurgeConfiguration

DirectoryPurgeConfiguration addDirectoryPurgeConfiguration(DirectoryPurgeConfiguration dirPurge)
                                                           throws Exception
Add a directory purge configuration

Parameters:
dirPurge - the directory purge configuration
Returns:
Throws:
Exception

addDirectoryPurgeConfigurationRPC

Map<String,Object> addDirectoryPurgeConfigurationRPC(Map<String,Object> dirPurge)
                                                     throws Exception
Same method but compatible with the standard XMLRPC

Parameters:
dirPurge - the directory purge configuration
Returns:
Throws:
Exception

updateDirectoryPurgeConfiguration

int updateDirectoryPurgeConfiguration(DirectoryPurgeConfiguration dirPurge)
                                      throws Exception
Update the directory purge configuration

Parameters:
dirPurge - the directory purge configuration
Returns:
Throws:
Exception

updateDirectoryPurgeConfigurationRPC

int updateDirectoryPurgeConfigurationRPC(Map<String,Object> dirPurge)
                                         throws Exception
Same method but compatible with the standard XMLRPC

Parameters:
dirPurge - the directory purge configuration
Returns:
Throws:
Exception

removeDirectoryPurgeConfiguration

int removeDirectoryPurgeConfiguration(int dirPurgeId)
                                      throws Exception
Removes the directory purge configuration

Parameters:
dirPurgeId - the directory purge configuration id
Returns:
Throws:
Exception

getDirectoryPurgeConfiguration

DirectoryPurgeConfiguration getDirectoryPurgeConfiguration(int purgeConfigId)
                                                           throws Exception
Returns the directory purge configuration

Parameters:
purgeConfigId - the directory purge configuration id
Returns:
the directory purge configuration
Throws:
Exception

getDirectoryPurgeConfigurationRPC

Map<String,Object> getDirectoryPurgeConfigurationRPC(int purgeConfigId)
                                                     throws Exception
Same method but compatible with standard XMLRPC

Parameters:
purgeConfigId - the directory purge configuration id
Returns:
the directory purge configuration
Throws:
Exception

getAllDirectoryPurgeConfigurations

List<DirectoryPurgeConfiguration> getAllDirectoryPurgeConfigurations()
                                                                     throws Exception
Returns directory purge configurations list

Returns:
list of directory purge configurations
Throws:
Exception

getAllDirectoryPurgeConfigurationsRPC

List<Object> getAllDirectoryPurgeConfigurationsRPC()
                                                   throws Exception
Same method but compatible with standard XMLRPC

Returns:
list of directory purge configurations
Throws:
Exception

purgeLocalRepository

void purgeLocalRepository(int repoPurgeId)
                          throws Exception
Throws:
Exception

purgeDirectory

void purgeDirectory(int dirPurgeId)
                    throws Exception
Throws:
Exception

getReleaseResult

ContinuumReleaseResult getReleaseResult(int releaseId)
                                        throws Exception
Returns the release result.

Parameters:
releaseId - The release id
Returns:
The release result
Throws:
Exception

getReleaseResultRPC

Map<String,Object> getReleaseResultRPC(int releaseId)
                                       throws Exception
Same method but compatible with standard XMLRPC

Parameters:
releaseId - The release id
Returns:
The release result as RPC value
Throws:
Exception

getReleaseResultsForProjectGroup

List<ContinuumReleaseResult> getReleaseResultsForProjectGroup(int projectGroupId)
                                                              throws Exception
Returns the project group release result list.

Parameters:
projectGroupId - The project group id
Returns:
The release result list
Throws:
Exception

getReleaseResultsForProjectGroupRPC

List<Object> getReleaseResultsForProjectGroupRPC(int projectGroupId)
                                                 throws Exception
Same method but compatible with standard XMLRPC

Parameters:
projectGroupId - The project group id
Returns:
The release result list as RPC value
Throws:
Exception

removeReleaseResult

int removeReleaseResult(ContinuumReleaseResult releaseResult)
                        throws Exception
Remove the project release result.

Parameters:
releaseResult - The project release result
Returns:
0
Throws:
Exception

removeReleaseResultRPC

int removeReleaseResultRPC(Map<String,Object> rr)
                           throws Exception
Same method but compatible with standard XMLRPC

Parameters:
rr - The project release result
Returns:
0
Throws:
Exception

getReleaseOutput

String getReleaseOutput(int releaseId)
                        throws Exception
Returns the release output.

Parameters:
releaseId - The release id
Returns:
The release output
Throws:
Exception


Copyright © 2003-2011 The Apache Software Foundation. All Rights Reserved.