org.apache.maven.continuum.xmlrpc.server
Class ContinuumServiceImpl

Package class diagram package ContinuumServiceImpl
java.lang.Object
  extended by org.apache.maven.continuum.xmlrpc.server.AbstractContinuumSecureService
      extended by org.apache.maven.continuum.xmlrpc.server.ContinuumServiceImpl
All Implemented Interfaces:
ContinuumService, ContinuumXmlRpcComponent

public class ContinuumServiceImpl
extends AbstractContinuumSecureService

Version:
$Id: ContinuumServiceImpl.java 1102234 2011-05-12 10:28:26Z ctan $
Author:
Emmanuel Venisse

Constructor Summary
ContinuumServiceImpl()
           
 
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 buildDefintionId)
          Build the project group with the specified build definition.
 int buildProject(int projectId)
          Build the project
 int buildProject(int projectId, int buildDefintionId)
          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()
          Get all project groups with all details.
 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 dirPurgeId)
          Returns the directory purge configuration
 Map<String,Object> getDirectoryPurgeConfigurationRPC(int dirPurgeId)
          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.
protected  String getProjectGroupName(int projectGroupId)
           
 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 repoPurgeId)
          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
 int removeSchedule(int scheduleId)
           
 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
 
Methods inherited from class org.apache.maven.continuum.xmlrpc.server.AbstractContinuumSecureService
checkAddGroupBuildDefinitionAuthorization, checkAddProjectBuildDefinitionAuthorization, checkAddProjectGroupAuthorization, checkAddProjectGroupNotifierAuthorization, checkAddProjectNotifierAuthorization, checkAddProjectToGroupAuthorization, checkAuthorization, checkAuthorization, checkAuthorization, checkBuildProjectGroupAuthorization, checkBuildProjectInGroupAuthorization, checkManageBuildDefinitionTemplatesAuthorization, checkManageConfigurationAuthorization, checkManageInstallationsAuthorization, checkManageProfilesAuthorization, checkManagePurgingAuthorization, checkManageQueuesAuthorization, checkManageRepositoriesAuthorization, checkManageSchedulesAuthorization, checkModifyGroupBuildDefinitionAuthorization, checkModifyProjectBuildDefinitionAuthorization, checkModifyProjectGroupAuthorization, checkModifyProjectGroupNotifierAuthorization, checkModifyProjectInGroupAuthorization, checkModifyProjectNotifierAuthorization, checkRemoveGroupBuildDefinitionAuthorization, checkRemoveProjectBuildDefinitionAuthorization, checkRemoveProjectFromGroupAuthorization, checkRemoveProjectGroupAuthorization, checkRemoveProjectGroupNotifierAuthorization, checkRemoveProjectNotifierAuthorization, checkViewProjectGroupAuthorization, getSecuritySession, getSecuritySystem, isAuthenticated, isAuthorized, isAuthorized, setConfig
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ContinuumServiceImpl

public ContinuumServiceImpl()
Method Detail

ping

public boolean ping()
             throws ContinuumException
Throws:
ContinuumException

getProjects

public List<ProjectSummary> getProjects(int projectGroupId)
                                 throws ContinuumException
Description copied from interface: ContinuumService
Get All projects.

Parameters:
projectGroupId - The project group Id
Returns:
List of ProjectSummary
Throws:
ContinuumException

getProjectSummary

public ProjectSummary getProjectSummary(int projectId)
                                 throws ContinuumException
Description copied from interface: ContinuumService
Get a project.

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

getProjectWithAllDetails

public Project getProjectWithAllDetails(int projectId)
                                 throws ContinuumException
Description copied from interface: ContinuumService
Get a project with all details.

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

removeProject

public int removeProject(int projectId)
                  throws ContinuumException
Description copied from interface: ContinuumService
Remove a project.

Parameters:
projectId - The project id
Throws:
ContinuumException

updateProject

public ProjectSummary updateProject(ProjectSummary project)
                             throws ContinuumException
Description copied from interface: ContinuumService
Update a project. Useful to change the scm parameters.

Parameters:
project - The project to update
Throws:
ContinuumException

getAllProjectGroups

public List<ProjectGroupSummary> getAllProjectGroups()
                                              throws ContinuumException
Description copied from interface: ContinuumService
Get all project groups.

Returns:
All project groups
Throws:
ContinuumException

getProjectGroup

public ProjectGroup getProjectGroup(int projectGroupId)
                             throws ContinuumException
Description copied from interface: ContinuumService
Get a project groups.

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

getAllProjectGroupsWithAllDetails

public List<ProjectGroup> getAllProjectGroupsWithAllDetails()
                                                     throws ContinuumException
Description copied from interface: ContinuumService
Get all project groups with all details (project summaries, notifiers, build definitions).

Returns:
All project groups
Throws:
ContinuumException

getAllProjectGroupsWithProjects

public List<ProjectGroup> getAllProjectGroupsWithProjects()
                                                   throws ContinuumException
Description copied from interface: ContinuumService
Get all project groups with all details.

Returns:
All project groups
Throws:
ContinuumException

getProjectGroupName

protected String getProjectGroupName(int projectGroupId)
                              throws ContinuumException
Throws:
ContinuumException

getProjectGroupSummary

public ProjectGroupSummary getProjectGroupSummary(int projectGroupId)
                                           throws ContinuumException
Description copied from interface: ContinuumService
Get a project group.

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

getProjectGroupWithProjects

public ProjectGroup getProjectGroupWithProjects(int projectGroupId)
                                         throws ContinuumException
Description copied from interface: ContinuumService
Get a project group with all details.

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

removeProjectGroup

public int removeProjectGroup(int projectGroupId)
                       throws ContinuumException
Description copied from interface: ContinuumService
Remove a project group.

Parameters:
projectGroupId - The project group id
Throws:
ContinuumException

updateProjectGroup

public ProjectGroupSummary updateProjectGroup(ProjectGroupSummary projectGroup)
                                       throws ContinuumException
Description copied from interface: ContinuumService
Update a project Group.

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

addProjectGroup

public ProjectGroupSummary addProjectGroup(String groupName,
                                           String groupId,
                                           String description)
                                    throws Exception
Description copied from interface: ContinuumService
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

getNotifier

public ProjectNotifier getNotifier(int projectid,
                                   int notifierId)
                            throws ContinuumException
Throws:
ContinuumException

updateNotifier

public ProjectNotifier updateNotifier(int projectid,
                                      ProjectNotifier newNotifier)
                               throws ContinuumException
Throws:
ContinuumException

addNotifier

public ProjectNotifier addNotifier(int projectid,
                                   ProjectNotifier newNotifier)
                            throws ContinuumException
Throws:
ContinuumException

removeNotifier

public int removeNotifier(int projectid,
                          int notifierId)
                   throws ContinuumException
Throws:
ContinuumException

getGroupNotifier

public ProjectNotifier getGroupNotifier(int projectgroupid,
                                        int notifierId)
                                 throws ContinuumException
Throws:
ContinuumException

updateGroupNotifier

public ProjectNotifier updateGroupNotifier(int projectgroupid,
                                           ProjectNotifier newNotifier)
                                    throws ContinuumException
Throws:
ContinuumException

addGroupNotifier

public ProjectNotifier addGroupNotifier(int projectgroupid,
                                        ProjectNotifier newNotifier)
                                 throws ContinuumException
Throws:
ContinuumException

removeGroupNotifier

public int removeGroupNotifier(int projectgroupid,
                               int notifierId)
                        throws ContinuumException
Throws:
ContinuumException

getBuildDefinitionsForProject

public List<BuildDefinition> getBuildDefinitionsForProject(int projectId)
                                                    throws ContinuumException
Description copied from interface: ContinuumService
Get the build definitions list of the project.

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

getBuildDefinitionsForProjectGroup

public List<BuildDefinition> getBuildDefinitionsForProjectGroup(int projectGroupId)
                                                         throws ContinuumException
Description copied from interface: ContinuumService
Get the build definitions list of the project group.

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

removeBuildDefinitionFromProjectGroup

public int removeBuildDefinitionFromProjectGroup(int projectGroupId,
                                                 int buildDefinitionId)
                                          throws ContinuumException
Throws:
ContinuumException

updateBuildDefinitionForProject

public BuildDefinition updateBuildDefinitionForProject(int projectId,
                                                       BuildDefinition buildDef)
                                                throws ContinuumException
Description copied from interface: ContinuumService
Update a project build definition.

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

updateBuildDefinitionForProjectGroup

public BuildDefinition updateBuildDefinitionForProjectGroup(int projectGroupId,
                                                            BuildDefinition buildDef)
                                                     throws ContinuumException
Description copied from interface: ContinuumService
Update a project group build definition.

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

addBuildDefinitionToProject

public BuildDefinition addBuildDefinitionToProject(int projectId,
                                                   BuildDefinition buildDef)
                                            throws ContinuumException
Description copied from interface: ContinuumService
Add a project build definition.

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

addBuildDefinitionToProjectGroup

public BuildDefinition addBuildDefinitionToProjectGroup(int projectGroupId,
                                                        BuildDefinition buildDef)
                                                 throws ContinuumException
Description copied from interface: ContinuumService
Add a project group buildDefinition.

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

getBuildDefinitionTemplates

public List<BuildDefinitionTemplate> getBuildDefinitionTemplates()
                                                          throws Exception
Description copied from interface: ContinuumService
Get the build definition templates list.

Returns:
The build definitions templates list
Throws:
Exception

addProjectToBuildQueue

public int addProjectToBuildQueue(int projectId)
                           throws ContinuumException
Description copied from interface: ContinuumService
Add the project to the build queue.

Parameters:
projectId - The project id
Throws:
ContinuumException

addProjectToBuildQueue

public int addProjectToBuildQueue(int projectId,
                                  int buildDefinitionId)
                           throws ContinuumException
Description copied from interface: ContinuumService
Add the project to the build queue.

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

buildProject

public int buildProject(int projectId)
                 throws ContinuumException
Description copied from interface: ContinuumService
Build the project

Parameters:
projectId - The project id
Throws:
ContinuumException

buildProject

public int buildProject(int projectId,
                        int buildDefintionId)
                 throws ContinuumException
Description copied from interface: ContinuumService
Build the project

Parameters:
projectId - The project id
buildDefintionId - The build definition id
Throws:
ContinuumException

buildGroup

public int buildGroup(int projectGroupId)
               throws ContinuumException
Description copied from interface: ContinuumService
Build the project group with the default build definition.

Parameters:
projectGroupId - The project group id
Throws:
ContinuumException

buildGroup

public int buildGroup(int projectGroupId,
                      int buildDefintionId)
               throws ContinuumException
Description copied from interface: ContinuumService
Build the project group with the specified build definition.

Parameters:
projectGroupId - The project group id
buildDefintionId - The build definition id
Throws:
ContinuumException

getLatestBuildResult

public BuildResult getLatestBuildResult(int projectId)
                                 throws ContinuumException
Description copied from interface: ContinuumService
Returns the latest build result for the project.

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

getBuildResult

public BuildResult getBuildResult(int projectId,
                                  int buildId)
                           throws ContinuumException
Description copied from interface: ContinuumService
Returns the build result.

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

getBuildResultsForProject

public List<BuildResultSummary> getBuildResultsForProject(int projectId)
                                                   throws ContinuumException
Description copied from interface: ContinuumService
Returns the project build result summary list.

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

removeBuildResult

public int removeBuildResult(BuildResult br)
                      throws ContinuumException
Description copied from interface: ContinuumService
Remove the project build result.

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

getBuildOutput

public String getBuildOutput(int projectId,
                             int buildId)
                      throws ContinuumException
Description copied from interface: ContinuumService
Returns the build output.

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

addMavenTwoProject

public AddingResult addMavenTwoProject(String url)
                                throws ContinuumException
Description copied from interface: ContinuumService
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:
ContinuumException

addMavenTwoProject

public AddingResult addMavenTwoProject(String url,
                                       int projectGroupId)
                                throws ContinuumException
Description copied from interface: ContinuumService
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:
ContinuumException

addMavenOneProject

public AddingResult addMavenOneProject(String url,
                                       int projectGroupId)
                                throws ContinuumException
Description copied from interface: ContinuumService
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:
ContinuumException

addAntProject

public ProjectSummary addAntProject(ProjectSummary project,
                                    int projectGroupId)
                             throws ContinuumException
Description copied from interface: ContinuumService
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:
ContinuumException

addShellProject

public ProjectSummary addShellProject(ProjectSummary project,
                                      int projectGroupId)
                               throws ContinuumException
Description copied from interface: ContinuumService
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:
ContinuumException

getSchedules

public List<Schedule> getSchedules()
                            throws ContinuumException
Description copied from interface: ContinuumService
Return the schedules list.

Returns:
The schedule list.
Throws:
ContinuumException

getSchedule

public Schedule getSchedule(int scheduleId)
                     throws ContinuumException
Description copied from interface: ContinuumService
Return the schedule defined by this id.

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

updateSchedule

public Schedule updateSchedule(Schedule schedule)
                        throws ContinuumException
Description copied from interface: ContinuumService
Update the schedule.

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

addSchedule

public Schedule addSchedule(Schedule schedule)
                     throws ContinuumException
Description copied from interface: ContinuumService
Add the schedule.

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

removeSchedule

public int removeSchedule(int scheduleId)
                   throws ContinuumException
Throws:
ContinuumException

getProfiles

public List<Profile> getProfiles()
                          throws ContinuumException
Description copied from interface: ContinuumService
Return the profiles list.

Returns:
The profiles list.
Throws:
ContinuumException

getProfile

public Profile getProfile(int profileId)
                   throws ContinuumException
Description copied from interface: ContinuumService
Return the profile defined by this id.

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

addProfile

public Profile addProfile(Profile profile)
                   throws ContinuumException
Throws:
ContinuumException

updateProfile

public int updateProfile(Profile profile)
                  throws ContinuumException
Throws:
ContinuumException

deleteProfile

public int deleteProfile(int profileId)
                  throws ContinuumException
Throws:
ContinuumException

getInstallations

public List<Installation> getInstallations()
                                    throws ContinuumException
Description copied from interface: ContinuumService
Return the installations list.

Returns:
The installations list.
Throws:
ContinuumException

getInstallation

public Installation getInstallation(int installationId)
                             throws ContinuumException
Description copied from interface: ContinuumService
Return the installation defined by this id.

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

addInstallation

public Installation addInstallation(Installation installation)
                             throws ContinuumException
Throws:
ContinuumException

updateInstallation

public int updateInstallation(Installation installation)
                       throws ContinuumException
Throws:
ContinuumException

deleteInstallation

public int deleteInstallation(int installationId)
                       throws ContinuumException
Throws:
ContinuumException

getSystemConfiguration

public SystemConfiguration getSystemConfiguration()
                                           throws ContinuumException
Throws:
ContinuumException

isProjectInBuildingQueue

public boolean isProjectInBuildingQueue(int projectId)
                                 throws ContinuumException
Description copied from interface: ContinuumService
Return true is the project is in building queue.

Throws:
ContinuumException

getProjectsInBuildQueue

public List<BuildProjectTask> getProjectsInBuildQueue()
                                               throws ContinuumException
Description copied from interface: ContinuumService
Return projects building queue.

Throws:
ContinuumException

removeProjectsFromBuildingQueue

public int removeProjectsFromBuildingQueue(int[] projectsId)
                                    throws ContinuumException
Description copied from interface: ContinuumService
Remove projects from build queue

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

cancelCurrentBuild

public boolean cancelCurrentBuild()
                           throws ContinuumException
Description copied from interface: ContinuumService
Cancel the current project build

Returns:
Throws:
ContinuumException

getReleaseResult

public ContinuumReleaseResult getReleaseResult(int releaseId)
                                        throws ContinuumException
Description copied from interface: ContinuumService
Returns the release result.

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

getReleaseResultsForProjectGroup

public List<ContinuumReleaseResult> getReleaseResultsForProjectGroup(int projectGroupId)
                                                              throws ContinuumException
Description copied from interface: ContinuumService
Returns the project group release result list.

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

removeReleaseResult

public int removeReleaseResult(ContinuumReleaseResult releaseResult)
                        throws ContinuumException
Description copied from interface: ContinuumService
Remove the project release result.

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

getReleaseOutput

public String getReleaseOutput(int releaseId)
                        throws ContinuumException
Description copied from interface: ContinuumService
Returns the release output.

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

addRepositoryPurgeConfiguration

public RepositoryPurgeConfiguration addRepositoryPurgeConfiguration(RepositoryPurgeConfiguration repoPurge)
                                                             throws ContinuumException
Description copied from interface: ContinuumService
Add a repository purge configuration

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

updateRepositoryPurgeConfiguration

public int updateRepositoryPurgeConfiguration(RepositoryPurgeConfiguration repoPurge)
                                       throws ContinuumException
Description copied from interface: ContinuumService
Update the repository purge configuration

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

removeRepositoryPurgeConfiguration

public int removeRepositoryPurgeConfiguration(int repoPurgeId)
                                       throws ContinuumException
Description copied from interface: ContinuumService
Remove repository purge configuration

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

getRepositoryPurgeConfiguration

public RepositoryPurgeConfiguration getRepositoryPurgeConfiguration(int repoPurgeId)
                                                             throws ContinuumException
Description copied from interface: ContinuumService
Returns the repository purge configuration

Returns:
the repository purge configuration
Throws:
ContinuumException

getAllRepositoryPurgeConfigurations

public List<RepositoryPurgeConfiguration> getAllRepositoryPurgeConfigurations()
                                                                       throws ContinuumException
Description copied from interface: ContinuumService
Returns repository purge configurations list

Returns:
list of repository purge configurations
Throws:
ContinuumException

addDirectoryPurgeConfiguration

public DirectoryPurgeConfiguration addDirectoryPurgeConfiguration(DirectoryPurgeConfiguration dirPurge)
                                                           throws ContinuumException
Description copied from interface: ContinuumService
Add a directory purge configuration

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

updateDirectoryPurgeConfiguration

public int updateDirectoryPurgeConfiguration(DirectoryPurgeConfiguration dirPurge)
                                      throws ContinuumException
Description copied from interface: ContinuumService
Update the directory purge configuration

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

removeDirectoryPurgeConfiguration

public int removeDirectoryPurgeConfiguration(int dirPurgeId)
                                      throws ContinuumException
Description copied from interface: ContinuumService
Removes the directory purge configuration

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

getDirectoryPurgeConfiguration

public DirectoryPurgeConfiguration getDirectoryPurgeConfiguration(int dirPurgeId)
                                                           throws ContinuumException
Description copied from interface: ContinuumService
Returns the directory purge configuration

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

getAllDirectoryPurgeConfigurations

public List<DirectoryPurgeConfiguration> getAllDirectoryPurgeConfigurations()
                                                                     throws ContinuumException
Description copied from interface: ContinuumService
Returns directory purge configurations list

Returns:
list of directory purge configurations
Throws:
ContinuumException

purgeLocalRepository

public void purgeLocalRepository(int repoPurgeId)
                          throws ContinuumException
Throws:
ContinuumException

purgeDirectory

public void purgeDirectory(int dirPurgeId)
                    throws ContinuumException
Throws:
ContinuumException

addLocalRepository

public LocalRepository addLocalRepository(LocalRepository repository)
                                   throws ContinuumException
Description copied from interface: ContinuumService
Add a local repository

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

updateLocalRepository

public int updateLocalRepository(LocalRepository repository)
                          throws ContinuumException
Description copied from interface: ContinuumService
Update the local repository

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

removeLocalRepository

public int removeLocalRepository(int repositoryId)
                          throws ContinuumException
Description copied from interface: ContinuumService
Remove the local repository

Returns:
Throws:
ContinuumException

getLocalRepository

public LocalRepository getLocalRepository(int repositoryId)
                                   throws ContinuumException
Description copied from interface: ContinuumService
Returns the local repository

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

getAllLocalRepositories

public List<LocalRepository> getAllLocalRepositories()
                                              throws ContinuumException
Description copied from interface: ContinuumService
Returns all local repositories

Returns:
Throws:
ContinuumException

addAntProjectRPC

public Map<String,Object> addAntProjectRPC(Map<String,Object> project,
                                           int projectGroupId)
                                    throws Exception
Description copied from interface: ContinuumService
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

addBuildDefinitionToProjectGroupRPC

public Map<String,Object> addBuildDefinitionToProjectGroupRPC(int projectGroupId,
                                                              Map<String,Object> buildDef)
                                                       throws Exception
Description copied from interface: ContinuumService
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

addBuildDefinitionToProjectRPC

public Map<String,Object> addBuildDefinitionToProjectRPC(int projectId,
                                                         Map<String,Object> buildDef)
                                                  throws Exception
Description copied from interface: ContinuumService
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

addMavenOneProjectRPC

public Map<String,Object> addMavenOneProjectRPC(String url,
                                                int projectGroupId)
                                         throws Exception
Description copied from interface: ContinuumService
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

addMavenTwoProjectRPC

public Map<String,Object> addMavenTwoProjectRPC(String url)
                                         throws Exception
Description copied from interface: ContinuumService
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

addMavenTwoProjectRPC

public Map<String,Object> addMavenTwoProjectRPC(String url,
                                                int projectGroupId)
                                         throws Exception
Description copied from interface: ContinuumService
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

addProjectGroupRPC

public Map<String,Object> addProjectGroupRPC(String groupName,
                                             String groupId,
                                             String description)
                                      throws Exception
Description copied from interface: ContinuumService
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

addScheduleRPC

public Map<String,Object> addScheduleRPC(Map<String,Object> schedule)
                                  throws Exception
Description copied from interface: ContinuumService
Same method but compatible with standard XMLRPC

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

addShellProjectRPC

public Map<String,Object> addShellProjectRPC(Map<String,Object> project,
                                             int projectGroupId)
                                      throws Exception
Description copied from interface: ContinuumService
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

getAllProjectGroupsRPC

public List<Object> getAllProjectGroupsRPC()
                                    throws Exception
Description copied from interface: ContinuumService
Same method but compatible with standard XMLRPC

Returns:
List of ProjectGroupSummary as RPC value
Throws:
Exception

getAllProjectGroupsWithAllDetailsRPC

public List<Object> getAllProjectGroupsWithAllDetailsRPC()
                                                  throws Exception
Description copied from interface: ContinuumService
Same method but compatible with standard XMLRPC

Returns:
List of ProjectGroup as RPC value
Throws:
Exception

getBuildDefinitionTemplatesRPC

public List<Object> getBuildDefinitionTemplatesRPC()
                                            throws Exception
Description copied from interface: ContinuumService
Same method but compatible with standard XMLRPC

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

getBuildDefinitionsForProjectGroupRPC

public List<Object> getBuildDefinitionsForProjectGroupRPC(int projectGroupId)
                                                   throws Exception
Description copied from interface: ContinuumService
Same method but compatible with standard XMLRPC

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

getBuildDefinitionsForProjectRPC

public List<Object> getBuildDefinitionsForProjectRPC(int projectId)
                                              throws Exception
Description copied from interface: ContinuumService
Same method but compatible with standard XMLRPC

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

getBuildResultRPC

public Map<String,Object> getBuildResultRPC(int projectId,
                                            int buildId)
                                     throws Exception
Description copied from interface: ContinuumService
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

getBuildResultsForProjectRPC

public List<Object> getBuildResultsForProjectRPC(int projectId)
                                          throws Exception
Description copied from interface: ContinuumService
Same method but compatible with standard XMLRPC

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

getInstallationRPC

public Map<String,Object> getInstallationRPC(int installationId)
                                      throws Exception
Description copied from interface: ContinuumService
Same method but compatible with standard XMLRPC

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

getInstallationsRPC

public List<Object> getInstallationsRPC()
                                 throws Exception
Description copied from interface: ContinuumService
Same method but compatible with standard XMLRPC

Returns:
The installations list.
Throws:
Exception

getLatestBuildResultRPC

public Map<String,Object> getLatestBuildResultRPC(int projectId)
                                           throws Exception
Description copied from interface: ContinuumService
Same method but compatible with standard XMLRPC

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

getProfileRPC

public Map<String,Object> getProfileRPC(int profileId)
                                 throws Exception
Description copied from interface: ContinuumService
Same method but compatible with standard XMLRPC

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

getProfilesRPC

public List<Object> getProfilesRPC()
                            throws Exception
Description copied from interface: ContinuumService
Same method but compatible with standard XMLRPC

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

getProjectGroupSummaryRPC

public Map<String,Object> getProjectGroupSummaryRPC(int projectGroupId)
                                             throws Exception
Description copied from interface: ContinuumService
Same method but compatible with standard XMLRPC

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

getProjectGroupWithProjectsRPC

public Map<String,Object> getProjectGroupWithProjectsRPC(int projectGroupId)
                                                  throws Exception
Description copied from interface: ContinuumService
Same method but compatible with standard XMLRPC

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

updateProjectGroupRPC

public Map<String,Object> updateProjectGroupRPC(Map<String,Object> projectGroup)
                                         throws Exception
Description copied from interface: ContinuumService
Same method but compatible with standard XMLRPC

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

getProjectSummaryRPC

public Map<String,Object> getProjectSummaryRPC(int projectId)
                                        throws Exception
Description copied from interface: ContinuumService
Same method but compatible with standard XMLRPC

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

getProjectWithAllDetailsRPC

public Map<String,Object> getProjectWithAllDetailsRPC(int projectId)
                                               throws Exception
Description copied from interface: ContinuumService
Same method but compatible with standard XMLRPC

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

getProjectsRPC

public List<Object> getProjectsRPC(int projectGroupId)
                            throws Exception
Description copied from interface: ContinuumService
Same method but compatible with standard XMLRPC

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

getScheduleRPC

public Map<String,Object> getScheduleRPC(int scheduleId)
                                  throws Exception
Description copied from interface: ContinuumService
Same method but compatible with standard XMLRPC

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

getSchedulesRPC

public List<Object> getSchedulesRPC()
                             throws Exception
Description copied from interface: ContinuumService
Same method but compatible with standard XMLRPC

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

getSystemConfigurationRPC

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

removeBuildResultRPC

public int removeBuildResultRPC(Map<String,Object> br)
                         throws Exception
Description copied from interface: ContinuumService
Same method but compatible with standard XMLRPC

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

updateBuildDefinitionForProjectGroupRPC

public Map<String,Object> updateBuildDefinitionForProjectGroupRPC(int projectGroupId,
                                                                  Map<String,Object> buildDef)
                                                           throws Exception
Description copied from interface: ContinuumService
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

updateBuildDefinitionForProjectRPC

public Map<String,Object> updateBuildDefinitionForProjectRPC(int projectId,
                                                             Map<String,Object> buildDef)
                                                      throws Exception
Description copied from interface: ContinuumService
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

updateProjectRPC

public Map<String,Object> updateProjectRPC(Map<String,Object> project)
                                    throws Exception
Description copied from interface: ContinuumService
Same method but compatible with standard XMLRPC

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

updateScheduleRPC

public Map<String,Object> updateScheduleRPC(Map<String,Object> schedule)
                                     throws Exception
Description copied from interface: ContinuumService
Same method but compatible with standard XMLRPC

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

getProjectGroupRPC

public Map<String,Object> getProjectGroupRPC(int projectGroupId)
                                      throws Exception
Description copied from interface: ContinuumService
Same method but compatible with standard XMLRPC

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

getGroupNotifierRPC

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

getNotifierRPC

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

updateGroupNotifierRPC

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

updateNotifierRPC

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

addGroupNotifierRPC

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

addNotifierRPC

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

addInstallationRPC

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

addProfileRPC

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

updateInstallationRPC

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

updateProfileRPC

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

getReleaseResultRPC

public Map<String,Object> getReleaseResultRPC(int releaseId)
                                       throws Exception
Description copied from interface: ContinuumService
Same method but compatible with standard XMLRPC

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

getReleaseResultsForProjectGroupRPC

public List<Object> getReleaseResultsForProjectGroupRPC(int projectGroupId)
                                                 throws Exception
Description copied from interface: ContinuumService
Same method but compatible with standard XMLRPC

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

removeReleaseResultRPC

public int removeReleaseResultRPC(Map<String,Object> rr)
                           throws Exception
Description copied from interface: ContinuumService
Same method but compatible with standard XMLRPC

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

addRepositoryPurgeConfigurationRPC

public Map<String,Object> addRepositoryPurgeConfigurationRPC(Map<String,Object> repoPurge)
                                                      throws Exception
Description copied from interface: ContinuumService
Same method but compatible with the standard XMLRPC

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

updateRepositoryPurgeConfigurationRPC

public int updateRepositoryPurgeConfigurationRPC(Map<String,Object> repoPurge)
                                          throws Exception
Description copied from interface: ContinuumService
Same method but compatible with the standard XMLRPC

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

getRepositoryPurgeConfigurationRPC

public Map<String,Object> getRepositoryPurgeConfigurationRPC(int repoPurgeId)
                                                      throws Exception
Description copied from interface: ContinuumService
Same method but compatible with standard XMLRPC

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

getAllRepositoryPurgeConfigurationsRPC

public List<Object> getAllRepositoryPurgeConfigurationsRPC()
                                                    throws Exception
Description copied from interface: ContinuumService
Same method but compatible with standard XMLRPC

Returns:
list of repository purge configurations
Throws:
Exception

addDirectoryPurgeConfigurationRPC

public Map<String,Object> addDirectoryPurgeConfigurationRPC(Map<String,Object> dirPurge)
                                                     throws Exception
Description copied from interface: ContinuumService
Same method but compatible with the standard XMLRPC

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

updateDirectoryPurgeConfigurationRPC

public int updateDirectoryPurgeConfigurationRPC(Map<String,Object> dirPurge)
                                         throws Exception
Description copied from interface: ContinuumService
Same method but compatible with the standard XMLRPC

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

getDirectoryPurgeConfigurationRPC

public Map<String,Object> getDirectoryPurgeConfigurationRPC(int dirPurgeId)
                                                     throws Exception
Description copied from interface: ContinuumService
Same method but compatible with standard XMLRPC

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

getAllDirectoryPurgeConfigurationsRPC

public List<Object> getAllDirectoryPurgeConfigurationsRPC()
                                                   throws Exception
Description copied from interface: ContinuumService
Same method but compatible with standard XMLRPC

Returns:
list of directory purge configurations
Throws:
Exception

addLocalRepositoryRPC

public Map<String,Object> addLocalRepositoryRPC(Map<String,Object> repository)
                                         throws Exception
Description copied from interface: ContinuumService
Same method but compatible with the standard XMLRPC

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

updateLocalRepositoryRPC

public int updateLocalRepositoryRPC(Map<String,Object> repository)
                             throws Exception
Description copied from interface: ContinuumService
Same method but compatible with the standard XMLRPC

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

getLocalRepositoryRPC

public Map<String,Object> getLocalRepositoryRPC(int repositoryId)
                                         throws Exception
Description copied from interface: ContinuumService
Same method but compatible with the standard XMLRPC

Returns:
Throws:
Exception

getAllLocalRepositoriesRPC

public List<Object> getAllLocalRepositoriesRPC()
                                        throws Exception
Description copied from interface: ContinuumService
Same method but compatible with the standard XMLRPC

Returns:
Throws:
Exception


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