org.apache.maven.continuum.xmlrpc.server
Class 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 1420496 2012-12-12 00:17:52Z brett $
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
 BuildAgentConfiguration addBuildAgent(BuildAgentConfiguration buildAgentConfiguration)
          Add/Register build agent to Continuum Master
 BuildAgentGroupConfiguration addBuildAgentGroup(BuildAgentGroupConfiguration buildAgentGroup)
           
 Map<String,Object> addBuildAgentGroupRPC(Map<String,Object> buildAgentGroup)
           
 Map<String,Object> addBuildAgentRPC(Map<String,Object> buildAgentConfiguration)
          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.
 AddingResult addMavenTwoProject(String url, int projectGroupId, boolean checkoutInSingleDirectory)
          Add a maven 2.x project from an url.
 AddingResult addMavenTwoProject(String url, int projectGroupId, boolean checkProtocol, boolean useCredentialsCache, boolean recursiveProjects, boolean checkoutInSingleDirectory)
          Add a maven 2.x multi-module project from a url
 AddingResult addMavenTwoProjectAsSingleProject(String url, int projectGroupId)
          Add a maven 2.x multi-module project from a url and add it to Continuum as a single project instead of as multiple projects (one project per module).
 Map<String,Object> addMavenTwoProjectAsSingleProjectRPC(String url, int projectGroupId)
          Same method but compatible with standard XMLRPC
 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
 Map<String,Object> addMavenTwoProjectRPC(String url, int projectGroupId, boolean checkoutInSingleDirectory)
          Same method but compatible with standard XMLRPC
 Map<String,Object> addMavenTwoProjectRPC(String url, int projectGroupId, boolean checkProtocol, boolean useCredentialsCache, boolean recursiveProjects, boolean checkoutInSingleDirectory)
          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, BuildTrigger xmlrpcBuildTrigger)
          Forced build the project
 int buildProject(int projectId, int buildDefinitionId)
          Build the project
 int buildProject(int projectId, int buildDefinitionId, BuildTrigger xmlrpcBuildTrigger)
          Forced build the project
protected  void buildProjectWithBuildDefinition(int projectId, int buildDefinitionId, BuildTrigger buildTrigger)
           
 boolean cancelBuild(int projectId, int buildDefinitionId)
          Cancel a project build
 boolean cancelCurrentBuild()
          Cancel the current project build
 int deleteInstallation(int installationId)
           
 int deleteProfile(int profileId)
           
 List<BuildAgentConfiguration> getAllBuildAgents()
          List all build agent in Continuum Master
 List<Object> getAllBuildAgentsRPC()
          Same method but compatible with standard XMLRPC
 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
 BuildAgentConfiguration getBuildAgent(String url)
          Get build agent in Continuum Master
 BuildAgentGroupConfiguration getBuildAgentGroup(String name)
           
 Map<String,Object> getBuildAgentGroupRPC(String name)
           
 List<Installation> getBuildAgentInstallations(String url)
          Return the installations list defined by this URL.
 List<Object> getBuildAgentInstallationsRPC(String url)
          Same method but compatible with standard XMLRPC
 Map<String,Object> getBuildAgentRPC(String url)
          Same method but compatible with standard XMLRPC
 List<BuildAgentConfiguration> getBuildAgentsWithInstallations()
          Retrieve all enabled build agents with their available installations
 List<Object> getBuildAgentsWithInstallationsRPC()
          Same method but compatible with standard XMLRPC
 String getBuildAgentUrl(int projectId, int buildDefinitionId)
          Get the url of the build agent that is processing the project
 BuildDefinition getBuildDefinition(int buildDefinitionId)
          Get the build definition
 Map<String,Object> getBuildDefinitionRPC(int buildDefinitionId)
          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.
 Installation getInstallation(String installationName)
          Return the installation defined by this name
 Map<String,Object> getInstallationRPC(int installationId)
          Same method but compatible with standard XMLRPC
 Map<String,Object> getInstallationRPC(String installationName)
          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
 ReleaseListenerSummary getListener(int projectId, String releaseId)
          Get release listener
 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
 Profile getProfileWithName(String profileName)
           
 Map<String,Object> getProfileWithNameRPC(String profileName)
           
 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<Map<String,String>> getProjectReleaseAndDevelopmentVersions(int projectId, String pomFilename, boolean autoVersionSubmodules)
           
 List<ProjectSummary> getProjects(int projectGroupId)
          Get All projects.
 ProjectScmRoot getProjectScmRootByProject(int projectId)
          Get the SCM root for a specific project
 List<ProjectScmRoot> getProjectScmRootByProjectGroup(int projectGroupId)
          Get the SCM roots for all projects in a project group
 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.
 Map<String,Object> getReleasePluginParameters(int projectId)
          Get release plugin parameters
 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 isProjectCurrentlyBuilding(int projectId)
          Return true if the project is currently building
 boolean isProjectCurrentlyBuilding(int projectId, int buildDefinitionId)
          Return true if the project is currently building
 boolean isProjectCurrentlyPreparingBuild(int projectId)
          Return true if the project is currently preparing build
 boolean isProjectCurrentlyPreparingBuild(int projectId, int buildDefinitionId)
          Return true if the project is currently preparing build
 boolean isProjectInBuildingQueue(int projectId)
          Return true if the project is in building queue.
 boolean isProjectInBuildingQueue(int projectId, int buildDefinitionId)
          Return true if the project is in building queue.
 boolean isProjectInPrepareBuildQueue(int projectId)
          Return true if the project is in prepare build queue
 boolean isProjectInPrepareBuildQueue(int projectId, int buildDefinitionId)
          Return true if the project is in prepare build queue
 boolean ping()
           
 boolean pingBuildAgent(String buildAgentUrl)
           
protected  BuildDefinition populateBuildDefinition(BuildDefinition buildDef, BuildDefinition bd)
           
 int purgeDirectory(int dirPurgeId)
           
 int purgeLocalRepository(int repoPurgeId)
           
 int releaseCleanup(int projectId, String releaseId)
          Cleanup the release
 int releaseCleanup(int projectId, String releaseId, String releaseType)
          Cleanup the release
 int releasePerform(int projectId, String releaseId, String goals, String arguments, boolean useReleaseProfile, String repositoryName, String username)
          Release perform a project
 String releasePrepare(int projectId, Properties releaseProperties, Map<String,String> releaseVersions, Map<String,String> developmentVersions, Map<String,String> environments, String username)
          Release prepare a project
 int releaseRollback(int projectId, String releaseId)
          Rollback a release
 boolean removeBuildAgent(String url)
          remove build agent in Continuum Master
 int removeBuildAgentGroup(String name)
           
 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
 void setContinuum(Continuum continuum)
           
 void setDistributedBuildManager(DistributedBuildManager distributedBuildManager)
           
 void setRoleManager(org.codehaus.plexus.redback.role.RoleManager roleManager)
           
 BuildAgentConfiguration updateBuildAgent(BuildAgentConfiguration buildAgentConfiguration)
          Update build agent in Continuum Master
 BuildAgentGroupConfiguration updateBuildAgentGroup(BuildAgentGroupConfiguration buildAgentGroup)
           
 Map<String,Object> updateBuildAgentGroupRPC(Map<String,Object> buildAgentGroup)
           
 Map<String,Object> updateBuildAgentRPC(Map<String,Object> buildAgentConfiguration)
          Same method but compatible with standard XMLRPC
 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

getBuildDefinition

public BuildDefinition getBuildDefinition(int buildDefinitionId)
                                   throws Exception
Description copied from interface: ContinuumService
Get the build definition

Parameters:
buildDefinitionId - The build definition id
Returns:
The build definition
Throws:
Exception

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 definition 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 definition 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 definition 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 definition 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,
                                  NoBuildAgentException,
                                  NoBuildAgentInGroupException
Description copied from interface: ContinuumService
Add the project to the build queue.

Parameters:
projectId - The project id
Throws:
ContinuumException
NoBuildAgentException
NoBuildAgentInGroupException

addProjectToBuildQueue

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

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

buildProject

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

Parameters:
projectId - The project id
Throws:
ContinuumException
NoBuildAgentException
NoBuildAgentInGroupException

buildProject

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

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

buildProject

public int buildProject(int projectId,
                        BuildTrigger xmlrpcBuildTrigger)
                 throws ContinuumException,
                        NoBuildAgentException,
                        NoBuildAgentInGroupException
Description copied from interface: ContinuumService
Forced build the project

Parameters:
projectId - The project id
xmlrpcBuildTrigger - The build trigger
Returns:
Throws:
ContinuumException
NoBuildAgentException
NoBuildAgentInGroupException

buildProject

public int buildProject(int projectId,
                        int buildDefinitionId,
                        BuildTrigger xmlrpcBuildTrigger)
                 throws ContinuumException,
                        NoBuildAgentException,
                        NoBuildAgentInGroupException
Description copied from interface: ContinuumService
Forced build the project

Parameters:
projectId - The project id
buildDefinitionId - The build definition id
xmlrpcBuildTrigger - The build trigger
Returns:
Throws:
ContinuumException
NoBuildAgentException
NoBuildAgentInGroupException

buildGroup

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

Parameters:
projectGroupId - The project group id
Throws:
ContinuumException
NoBuildAgentException
NoBuildAgentInGroupException

buildGroup

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

Parameters:
projectGroupId - The project group id
buildDefinitionId - The build definition id
Throws:
ContinuumException
NoBuildAgentException
NoBuildAgentInGroupException

getProjectScmRootByProjectGroup

public List<ProjectScmRoot> getProjectScmRootByProjectGroup(int projectGroupId)
                                                     throws ContinuumException
Description copied from interface: ContinuumService
Get the SCM roots for all projects in a project group

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

getProjectScmRootByProject

public ProjectScmRoot getProjectScmRootByProject(int projectId)
                                          throws ContinuumException
Description copied from interface: ContinuumService
Get the SCM root for a specific project

Parameters:
projectId - the project id
Returns:
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

addMavenTwoProject

public AddingResult addMavenTwoProject(String url,
                                       int projectGroupId,
                                       boolean checkoutInSingleDirectory)
                                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

addMavenTwoProjectAsSingleProject

public AddingResult addMavenTwoProjectAsSingleProject(String url,
                                                      int projectGroupId)
                                               throws Exception
Description copied from interface: ContinuumService
Add a maven 2.x multi-module project from a url and add it to Continuum as a single project instead of as multiple projects (one project per module). To add a multi-module project with its modules as separate Continuum projects, use ContinuumService#addMavenTwoProject( String url, int projectGroupId, boolean checkoutInSingleDirectory) instead.

Returns:
Throws:
Exception

addMavenTwoProject

public AddingResult addMavenTwoProject(String url,
                                       int projectGroupId,
                                       boolean checkProtocol,
                                       boolean useCredentialsCache,
                                       boolean recursiveProjects,
                                       boolean checkoutInSingleDirectory)
                                throws Exception
Description copied from interface: ContinuumService
Add a maven 2.x multi-module project from a url

Parameters:
url - The POM url
projectGroupId - The id of the group where projects will be stored
checkProtocol - Determines whether the protocol will be checked
useCredentialsCache - Determines whether user credentials will be cached
recursiveProjects - Determines whether to load recursive projects
checkoutInSingleDirectory - Determines whether the project will be stored on a single directory
Returns:
The result of the action with the list of projects created
Throws:
Exception

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

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

getProfileWithName

public Profile getProfileWithName(String profileName)
                           throws ContinuumException
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

getBuildAgentInstallations

public List<Installation> getBuildAgentInstallations(String url)
                                              throws ContinuumException
Description copied from interface: ContinuumService
Return the installations list defined by this URL.

Parameters:
url - The build agent URL
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

getInstallation

public Installation getInstallation(String installationName)
                             throws ContinuumException
Description copied from interface: ContinuumService
Return the installation defined by this name

Parameters:
installationName - The installation name
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

isProjectInPrepareBuildQueue

public boolean isProjectInPrepareBuildQueue(int projectId)
                                     throws ContinuumException
Description copied from interface: ContinuumService
Return true if the project is in prepare build queue

Parameters:
projectId - The project id
Throws:
ContinuumException

isProjectInPrepareBuildQueue

public boolean isProjectInPrepareBuildQueue(int projectId,
                                            int buildDefinitionId)
                                     throws ContinuumException
Description copied from interface: ContinuumService
Return true if the project is in prepare build queue

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

isProjectInBuildingQueue

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

Parameters:
projectId - The project id
Throws:
ContinuumException

isProjectInBuildingQueue

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

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

isProjectCurrentlyPreparingBuild

public boolean isProjectCurrentlyPreparingBuild(int projectId)
                                         throws ContinuumException
Description copied from interface: ContinuumService
Return true if the project is currently preparing build

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

isProjectCurrentlyPreparingBuild

public boolean isProjectCurrentlyPreparingBuild(int projectId,
                                                int buildDefinitionId)
                                         throws ContinuumException
Description copied from interface: ContinuumService
Return true if the project is currently preparing build

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

isProjectCurrentlyBuilding

public boolean isProjectCurrentlyBuilding(int projectId)
                                   throws ContinuumException
Description copied from interface: ContinuumService
Return true if the project is currently building

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

isProjectCurrentlyBuilding

public boolean isProjectCurrentlyBuilding(int projectId,
                                          int buildDefinitionId)
                                   throws ContinuumException
Description copied from interface: ContinuumService
Return true if the project is currently building

Parameters:
projectId - The project id
buildDefinitionId - The build definition id
Returns:
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

cancelBuild

public boolean cancelBuild(int projectId,
                           int buildDefinitionId)
                    throws ContinuumException
Description copied from interface: ContinuumService
Cancel a project build

Parameters:
projectId - the project id
buildDefinitionId - the build definition id
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 int purgeLocalRepository(int repoPurgeId)
                         throws ContinuumException
Throws:
ContinuumException

purgeDirectory

public int 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

addBuildAgent

public BuildAgentConfiguration addBuildAgent(BuildAgentConfiguration buildAgentConfiguration)
                                      throws ConfigurationException,
                                             ConfigurationStoringException,
                                             ContinuumConfigurationException
Description copied from interface: ContinuumService
Add/Register build agent to Continuum Master

Returns:
Throws:
ConfigurationException
ConfigurationStoringException
ContinuumConfigurationException

getBuildAgent

public BuildAgentConfiguration getBuildAgent(String url)
Description copied from interface: ContinuumService
Get build agent in Continuum Master

Parameters:
url - - build agent URL
Returns:

getBuildAgentUrl

public String getBuildAgentUrl(int projectId,
                               int buildDefinitionId)
                        throws ContinuumException
Get the url of the build agent that is processing the project

Parameters:
projectId - project Id
Returns:
build agent url
Throws:
ContinuumException - distributed build is not enabled or error during retrieval of build agent url
See Also:
DistributedBuildManager.getBuildAgentUrl(int, int)

updateBuildAgent

public BuildAgentConfiguration updateBuildAgent(BuildAgentConfiguration buildAgentConfiguration)
                                         throws ConfigurationStoringException,
                                                ContinuumConfigurationException
Description copied from interface: ContinuumService
Update build agent in Continuum Master

Returns:
Throws:
ConfigurationStoringException
ContinuumConfigurationException

removeBuildAgent

public boolean removeBuildAgent(String url)
                         throws BuildAgentConfigurationException,
                                ConfigurationStoringException,
                                ContinuumConfigurationException,
                                ContinuumException
Description copied from interface: ContinuumService
remove build agent in Continuum Master

Parameters:
url - - build agent URL
Returns:
Exception
Throws:
BuildAgentConfigurationException
ConfigurationStoringException
ContinuumConfigurationException
ContinuumException

getAllBuildAgents

public List<BuildAgentConfiguration> getAllBuildAgents()
Description copied from interface: ContinuumService
List all build agent in Continuum Master

Returns:

getBuildAgentsWithInstallations

public List<BuildAgentConfiguration> getBuildAgentsWithInstallations()
                                                              throws Exception
Description copied from interface: ContinuumService
Retrieve all enabled build agents with their available installations

Returns:
Throws:
Exception

addBuildAgentGroup

public BuildAgentGroupConfiguration addBuildAgentGroup(BuildAgentGroupConfiguration buildAgentGroup)
                                                throws ConfigurationException,
                                                       ConfigurationStoringException,
                                                       ContinuumConfigurationException
Throws:
ConfigurationException
ConfigurationStoringException
ContinuumConfigurationException

getBuildAgentGroup

public BuildAgentGroupConfiguration getBuildAgentGroup(String name)

updateBuildAgentGroup

public BuildAgentGroupConfiguration updateBuildAgentGroup(BuildAgentGroupConfiguration buildAgentGroup)
                                                   throws ConfigurationException,
                                                          ConfigurationStoringException,
                                                          ContinuumConfigurationException
Throws:
ConfigurationException
ConfigurationStoringException
ContinuumConfigurationException

removeBuildAgentGroup

public int removeBuildAgentGroup(String name)
                          throws ConfigurationException
Throws:
ConfigurationException

populateBuildDefinition

protected BuildDefinition populateBuildDefinition(BuildDefinition buildDef,
                                                  BuildDefinition bd)
                                           throws ContinuumException
Throws:
ContinuumException

buildProjectWithBuildDefinition

protected void buildProjectWithBuildDefinition(int projectId,
                                               int buildDefinitionId,
                                               BuildTrigger buildTrigger)
                                        throws ContinuumException,
                                               NoBuildAgentException,
                                               NoBuildAgentInGroupException
Throws:
ContinuumException
NoBuildAgentException
NoBuildAgentInGroupException

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 definition 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 definition 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

addMavenTwoProjectRPC

public Map<String,Object> addMavenTwoProjectRPC(String url,
                                                int projectGroupId,
                                                boolean checkoutInSingleDirectory)
                                         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

addMavenTwoProjectAsSingleProjectRPC

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

Returns:
Throws:
Exception

addMavenTwoProjectRPC

public Map<String,Object> addMavenTwoProjectRPC(String url,
                                                int projectGroupId,
                                                boolean checkProtocol,
                                                boolean useCredentialsCache,
                                                boolean recursiveProjects,
                                                boolean checkoutInSingleDirectory)
                                         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
checkProtocol - Determines whether the protocol will be checked
useCredentialsCache - Determines whether user credentials will be cached
recursiveProjects - Determines whether to load recursive projects
checkoutInSingleDirectory - Determines whether the project will be stored on a single directory
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

getBuildDefinitionRPC

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

Parameters:
buildDefinitionId - The build definition id
Returns:
The build definition 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

getInstallationRPC

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

Parameters:
installationName - The installation name
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

getBuildAgentInstallationsRPC

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

Parameters:
url - The build agent URL
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

getProfileWithNameRPC

public Map<String,Object> getProfileWithNameRPC(String profileName)
                                         throws Exception
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 definition 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 definition 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

addBuildAgentRPC

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

Returns:
Throws:
Exception

getBuildAgentRPC

public Map<String,Object> getBuildAgentRPC(String url)
Description copied from interface: ContinuumService
Same method but compatible with standard XMLRPC

Parameters:
url - - build agent URL
Returns:

updateBuildAgentRPC

public Map<String,Object> updateBuildAgentRPC(Map<String,Object> buildAgentConfiguration)
                                       throws ConfigurationStoringException,
                                              ContinuumConfigurationException
Description copied from interface: ContinuumService
Same method but compatible with standard XMLRPC

Returns:
Throws:
ConfigurationStoringException
ContinuumConfigurationException

getAllBuildAgentsRPC

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

Returns:

getBuildAgentsWithInstallationsRPC

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

Returns:
Throws:
Exception

addBuildAgentGroupRPC

public Map<String,Object> addBuildAgentGroupRPC(Map<String,Object> buildAgentGroup)
                                         throws ConfigurationException,
                                                ConfigurationStoringException,
                                                ContinuumConfigurationException
Throws:
ConfigurationException
ConfigurationStoringException
ContinuumConfigurationException

getBuildAgentGroupRPC

public Map<String,Object> getBuildAgentGroupRPC(String name)

updateBuildAgentGroupRPC

public Map<String,Object> updateBuildAgentGroupRPC(Map<String,Object> buildAgentGroup)
                                            throws ConfigurationException,
                                                   ConfigurationStoringException,
                                                   ContinuumConfigurationException
Throws:
ConfigurationException
ConfigurationStoringException
ContinuumConfigurationException

releasePrepare

public String releasePrepare(int projectId,
                             Properties releaseProperties,
                             Map<String,String> releaseVersions,
                             Map<String,String> developmentVersions,
                             Map<String,String> environments,
                             String username)
                      throws Exception
Description copied from interface: ContinuumService
Release prepare a project

Returns:
The release id
Throws:
Exception

releasePerform

public int releasePerform(int projectId,
                          String releaseId,
                          String goals,
                          String arguments,
                          boolean useReleaseProfile,
                          String repositoryName,
                          String username)
                   throws Exception
Description copied from interface: ContinuumService
Release perform a project

Returns:
Throws:
Exception

getListener

public ReleaseListenerSummary getListener(int projectId,
                                          String releaseId)
                                   throws Exception
Description copied from interface: ContinuumService
Get release listener

Returns:
Throws:
Exception

releaseCleanup

public int releaseCleanup(int projectId,
                          String releaseId)
                   throws Exception
Description copied from interface: ContinuumService
Cleanup the release

Returns:
Throws:
Exception

releaseCleanup

public int releaseCleanup(int projectId,
                          String releaseId,
                          String releaseType)
                   throws Exception
Description copied from interface: ContinuumService
Cleanup the release

Returns:
Throws:
Exception

releaseRollback

public int releaseRollback(int projectId,
                           String releaseId)
                    throws Exception
Description copied from interface: ContinuumService
Rollback a release

Returns:
Throws:
Exception

getReleasePluginParameters

public Map<String,Object> getReleasePluginParameters(int projectId)
                                              throws Exception
Description copied from interface: ContinuumService
Get release plugin parameters

Returns:
Throws:
Exception

getProjectReleaseAndDevelopmentVersions

public List<Map<String,String>> getProjectReleaseAndDevelopmentVersions(int projectId,
                                                                        String pomFilename,
                                                                        boolean autoVersionSubmodules)
                                                                 throws Exception
Throws:
Exception

pingBuildAgent

public boolean pingBuildAgent(String buildAgentUrl)
                       throws Exception
Throws:
Exception

setContinuum

public void setContinuum(Continuum continuum)

setDistributedBuildManager

public void setDistributedBuildManager(DistributedBuildManager distributedBuildManager)

setRoleManager

public void setRoleManager(org.codehaus.plexus.redback.role.RoleManager roleManager)


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