org.apache.maven.continuum.xmlrpc.client
Class ContinuumXmlRpcClient

java.lang.Object
  extended by org.apache.maven.continuum.xmlrpc.client.ContinuumXmlRpcClient
All Implemented Interfaces:
ContinuumService

public class ContinuumXmlRpcClient
extends Object
implements ContinuumService

Version:
$Id: ContinuumXmlRpcClient.java 1372260 2012-08-13 04:29:09Z brett $
Author:
Emmanuel Venisse

Constructor Summary
ContinuumXmlRpcClient(URL serviceUrl)
           
ContinuumXmlRpcClient(URL serviceUrl, String login, String password)
           
 
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(ProjectGroupSummary pg)
           
 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 buildTrigger)
          Forced build the project
 int buildProject(int projectId, int buildDefinitionId)
          Build the project
 int buildProject(int projectId, int buildDefinitionId, BuildTrigger buildTrigger)
          Forced build the project
 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()
          Deprecated.  
 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.
 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
 String getProjectStatusAsString(int status)
           
 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)
           
 int purgeDirectory(int dirPurgeId)
           
 int purgeLocalRepository(int repoPurgeId)
           
 ProjectGroupSummary refreshProjectGroupSummary(ProjectGroupSummary projectGroup)
           
 ProjectGroup refreshProjectGroupSummaryWithProjects(ProjectGroupSummary projectGroup)
           
 ProjectSummary refreshProjectSummary(ProjectSummary project)
           
 Project refreshProjectWithAllDetails(ProjectSummary project)
           
 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
 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 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ContinuumXmlRpcClient

public ContinuumXmlRpcClient(URL serviceUrl)

ContinuumXmlRpcClient

public ContinuumXmlRpcClient(URL serviceUrl,
                             String login,
                             String password)
Method Detail

ping

public boolean ping()
             throws Exception
Specified by:
ping in interface ContinuumService
Throws:
Exception

getProjects

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

Specified by:
getProjects in interface ContinuumService
Parameters:
projectGroupId - The project group Id
Returns:
List of ProjectSummary
Throws:
Exception

getProjectSummary

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

Specified by:
getProjectSummary in interface ContinuumService
Parameters:
projectId - the project id
Returns:
The project summary
Throws:
Exception

getProjectWithAllDetails

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

Specified by:
getProjectWithAllDetails in interface ContinuumService
Parameters:
projectId - The project id
Returns:
The project
Throws:
Exception

removeProject

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

Specified by:
removeProject in interface ContinuumService
Parameters:
projectId - The project id
Throws:
Exception

updateProject

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

Specified by:
updateProject in interface ContinuumService
Parameters:
project - The project to update
Throws:
Exception

refreshProjectSummary

public ProjectSummary refreshProjectSummary(ProjectSummary project)
                                     throws Exception
Throws:
Exception

refreshProjectWithAllDetails

public Project refreshProjectWithAllDetails(ProjectSummary project)
                                     throws Exception
Throws:
Exception

getAllProjectGroups

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

Specified by:
getAllProjectGroups in interface ContinuumService
Returns:
All project groups
Throws:
Exception

getAllProjectGroupsWithAllDetails

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

Specified by:
getAllProjectGroupsWithAllDetails in interface ContinuumService
Returns:
All project groups
Throws:
Exception

getAllProjectGroupsWithProjects

public List<ProjectGroup> getAllProjectGroupsWithProjects()
                                                   throws Exception
Deprecated. 

Description copied from interface: ContinuumService
Get all project groups with all details.

Specified by:
getAllProjectGroupsWithProjects in interface ContinuumService
Returns:
All project groups
Throws:
Exception

getProjectGroupSummary

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

Specified by:
getProjectGroupSummary in interface ContinuumService
Parameters:
projectGroupId - The project group id
Returns:
The project group summary
Throws:
Exception

getProjectGroupWithProjects

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

Specified by:
getProjectGroupWithProjects in interface ContinuumService
Parameters:
projectGroupId - The project group id
Returns:
The project group
Throws:
Exception

removeProjectGroup

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

Specified by:
removeProjectGroup in interface ContinuumService
Parameters:
projectGroupId - The project group id
Throws:
Exception

refreshProjectGroupSummary

public ProjectGroupSummary refreshProjectGroupSummary(ProjectGroupSummary projectGroup)
                                               throws Exception
Throws:
Exception

refreshProjectGroupSummaryWithProjects

public ProjectGroup refreshProjectGroupSummaryWithProjects(ProjectGroupSummary projectGroup)
                                                    throws Exception
Throws:
Exception

updateProjectGroup

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

Specified by:
updateProjectGroup in interface ContinuumService
Parameters:
projectGroup - The project group to update
Throws:
Exception

addProjectGroup

public ProjectGroupSummary addProjectGroup(ProjectGroupSummary pg)
                                    throws Exception
Throws:
Exception

addProjectGroup

public ProjectGroupSummary addProjectGroup(String groupName,
                                           String groupId,
                                           String description)
                                    throws Exception
Description copied from interface: ContinuumService
Add a project Group.

Specified by:
addProjectGroup in interface ContinuumService
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

getBuildDefinitionsForProject

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

Specified by:
getBuildDefinitionsForProject in interface ContinuumService
Parameters:
projectId - The project id
Returns:
The build definitions list
Throws:
Exception

getBuildDefinitionsForProjectGroup

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

Specified by:
getBuildDefinitionsForProjectGroup in interface ContinuumService
Parameters:
projectGroupId - The project group id
Returns:
The build definitions list
Throws:
Exception

updateBuildDefinitionForProject

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

Specified by:
updateBuildDefinitionForProject in interface ContinuumService
Parameters:
projectId - The project id
buildDef - The build definition to update
Returns:
the updated build definition
Throws:
Exception

updateBuildDefinitionForProjectGroup

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

Specified by:
updateBuildDefinitionForProjectGroup in interface ContinuumService
Parameters:
projectGroupId - The project group id
buildDef - The build definition to update
Returns:
the updated build definition
Throws:
Exception

removeBuildDefinitionFromProjectGroup

public int removeBuildDefinitionFromProjectGroup(int projectGroupId,
                                                 int buildDefinitionId)
                                          throws Exception
Specified by:
removeBuildDefinitionFromProjectGroup in interface ContinuumService
Throws:
Exception

addBuildDefinitionToProject

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

Specified by:
addBuildDefinitionToProject in interface ContinuumService
Parameters:
projectId - The project id
buildDef - The build definition to update
Returns:
the added build definition
Throws:
Exception

addBuildDefinitionToProjectGroup

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

Specified by:
addBuildDefinitionToProjectGroup in interface ContinuumService
Parameters:
projectGroupId - The project group id
buildDef - The build definition to update
Returns:
the build definition added
Throws:
Exception

getBuildDefinitionTemplates

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

Specified by:
getBuildDefinitionTemplates in interface ContinuumService
Returns:
The build definitions templates list
Throws:
Exception

addProjectToBuildQueue

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

Specified by:
addProjectToBuildQueue in interface ContinuumService
Parameters:
projectId - The project id
Throws:
Exception

addProjectToBuildQueue

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

Specified by:
addProjectToBuildQueue in interface ContinuumService
Parameters:
projectId - The project id
buildDefinitionId - The build definition id
Throws:
Exception

buildProject

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

Specified by:
buildProject in interface ContinuumService
Parameters:
projectId - The project id
Throws:
Exception

buildProject

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

Specified by:
buildProject in interface ContinuumService
Parameters:
projectId - The project id
buildDefinitionId - The build definition id
Throws:
Exception

buildProject

public int buildProject(int projectId,
                        BuildTrigger buildTrigger)
                 throws Exception
Description copied from interface: ContinuumService
Forced build the project

Specified by:
buildProject in interface ContinuumService
Parameters:
projectId - The project id
buildTrigger - The build trigger
Returns:
Throws:
Exception

buildProject

public int buildProject(int projectId,
                        int buildDefinitionId,
                        BuildTrigger buildTrigger)
                 throws Exception
Description copied from interface: ContinuumService
Forced build the project

Specified by:
buildProject in interface ContinuumService
Parameters:
projectId - The project id
buildDefinitionId - The build definition id
buildTrigger - The build trigger
Returns:
Throws:
Exception

buildGroup

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

Specified by:
buildGroup in interface ContinuumService
Parameters:
projectGroupId - The project group id
Throws:
Exception

buildGroup

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

Specified by:
buildGroup in interface ContinuumService
Parameters:
projectGroupId - The project group id
buildDefinitionId - The build definition id
Throws:
Exception

getProjectScmRootByProjectGroup

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

Specified by:
getProjectScmRootByProjectGroup in interface ContinuumService
Parameters:
projectGroupId - the project group id
Returns:
Throws:
Exception

getProjectScmRootByProject

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

Specified by:
getProjectScmRootByProject in interface ContinuumService
Parameters:
projectId - the project id
Returns:
Throws:
Exception

getLatestBuildResult

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

Specified by:
getLatestBuildResult in interface ContinuumService
Parameters:
projectId - The project id
Returns:
The build result
Throws:
Exception

getBuildResult

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

Specified by:
getBuildResult in interface ContinuumService
Parameters:
projectId - The project id
buildId - The build id
Returns:
The build result
Throws:
Exception

getBuildResultsForProject

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

Specified by:
getBuildResultsForProject in interface ContinuumService
Parameters:
projectId - The project id
Returns:
The build result list
Throws:
Exception

removeBuildResult

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

Specified by:
removeBuildResult in interface ContinuumService
Parameters:
br - The project build result
Returns:
0
Throws:
Exception

getBuildOutput

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

Specified by:
getBuildOutput in interface ContinuumService
Parameters:
projectId - The project id
buildId - The build id
Returns:
The build output
Throws:
Exception

addMavenTwoProject

public AddingResult addMavenTwoProject(String url)
                                throws Exception
Description copied from interface: ContinuumService
Add a maven 2.x project from an url.

Specified by:
addMavenTwoProject in interface ContinuumService
Parameters:
url - The POM url
Returns:
The result of the action with the list of projects created
Throws:
Exception

addMavenTwoProject

public AddingResult addMavenTwoProject(String url,
                                       int projectGroupId)
                                throws Exception
Description copied from interface: ContinuumService
Add a maven 2.x project from an url.

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

addMavenTwoProject

public AddingResult addMavenTwoProject(String url,
                                       int projectGroupId,
                                       boolean checkoutInSingleDirectory)
                                throws Exception
Description copied from interface: ContinuumService
Add a maven 2.x project from an url.

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

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.

Specified by:
addMavenTwoProjectAsSingleProject in interface ContinuumService
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

Specified by:
addMavenTwoProject in interface ContinuumService
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 Exception
Description copied from interface: ContinuumService
Add a maven 1.x project from an url.

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

addAntProject

public ProjectSummary addAntProject(ProjectSummary project,
                                    int projectGroupId)
                             throws Exception
Description copied from interface: ContinuumService
Add an ANT project in the specified group.

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

addShellProject

public ProjectSummary addShellProject(ProjectSummary project,
                                      int projectGroupId)
                               throws Exception
Description copied from interface: ContinuumService
Add an shell project in the specified group.

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

getSchedules

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

Specified by:
getSchedules in interface ContinuumService
Returns:
The schedule list.
Throws:
Exception

getSchedule

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

Specified by:
getSchedule in interface ContinuumService
Parameters:
scheduleId - The schedule id
Returns:
The schedule.
Throws:
Exception

addSchedule

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

Specified by:
addSchedule in interface ContinuumService
Parameters:
schedule - The schedule
Returns:
The schedule.
Throws:
Exception

updateSchedule

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

Specified by:
updateSchedule in interface ContinuumService
Parameters:
schedule - The schedule
Returns:
The schedule.
Throws:
Exception

getProfiles

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

Specified by:
getProfiles in interface ContinuumService
Returns:
The profiles list.
Throws:
Exception

getProfile

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

Specified by:
getProfile in interface ContinuumService
Parameters:
profileId - The profile id
Returns:
The profile.
Throws:
Exception

getProfileWithName

public Profile getProfileWithName(String profileName)
                           throws Exception
Specified by:
getProfileWithName in interface ContinuumService
Throws:
Exception

getInstallations

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

Specified by:
getInstallations in interface ContinuumService
Returns:
The installations list.
Throws:
Exception

getInstallation

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

Specified by:
getInstallation in interface ContinuumService
Parameters:
installationId - The installation id
Returns:
The installation.
Throws:
Exception

getInstallation

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

Specified by:
getInstallation in interface ContinuumService
Parameters:
installationName - The installation name
Returns:
The installation
Throws:
Exception

getBuildAgentInstallations

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

Specified by:
getBuildAgentInstallations in interface ContinuumService
Parameters:
url - The build agent URL
Returns:
The installations list.
Throws:
Exception

getSystemConfiguration

public SystemConfiguration getSystemConfiguration()
                                           throws Exception
Specified by:
getSystemConfiguration in interface ContinuumService
Throws:
Exception

getProjectStatusAsString

public String getProjectStatusAsString(int status)

isProjectInPrepareBuildQueue

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

Specified by:
isProjectInPrepareBuildQueue in interface ContinuumService
Parameters:
projectId - The project id
Throws:
Exception

isProjectInPrepareBuildQueue

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

Specified by:
isProjectInPrepareBuildQueue in interface ContinuumService
Parameters:
projectId - The project id
buildDefinitionId - The build definition id
Throws:
Exception

getProjectsInBuildQueue

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

Specified by:
getProjectsInBuildQueue in interface ContinuumService
Throws:
Exception

isProjectInBuildingQueue

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

Specified by:
isProjectInBuildingQueue in interface ContinuumService
Parameters:
projectId - The project id
Throws:
Exception

isProjectInBuildingQueue

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

Specified by:
isProjectInBuildingQueue in interface ContinuumService
Parameters:
projectId - The project id
buildDefinitionId - The build definition id
Throws:
Exception

isProjectCurrentlyPreparingBuild

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

Specified by:
isProjectCurrentlyPreparingBuild in interface ContinuumService
Parameters:
projectId - The project id
Returns:
Throws:
Exception

isProjectCurrentlyPreparingBuild

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

Specified by:
isProjectCurrentlyPreparingBuild in interface ContinuumService
Parameters:
projectId - The project id
buildDefinitionId - The build definition id
Returns:
Throws:
Exception

isProjectCurrentlyBuilding

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

Specified by:
isProjectCurrentlyBuilding in interface ContinuumService
Parameters:
projectId - The project id
Returns:
Throws:
Exception

isProjectCurrentlyBuilding

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

Specified by:
isProjectCurrentlyBuilding in interface ContinuumService
Parameters:
projectId - The project id
buildDefinitionId - The build definition id
Returns:
Throws:
Exception

removeProjectsFromBuildingQueue

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

Specified by:
removeProjectsFromBuildingQueue in interface ContinuumService
Parameters:
projectsId - project id to be removed from the building queue
Returns:
Throws:
Exception

cancelCurrentBuild

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

Specified by:
cancelCurrentBuild in interface ContinuumService
Returns:
Throws:
Exception

cancelBuild

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

Specified by:
cancelBuild in interface ContinuumService
Parameters:
projectId - the project id
buildDefinitionId - the build definition id
Returns:
Throws:
Exception

getReleaseResult

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

Specified by:
getReleaseResult in interface ContinuumService
Parameters:
releaseId - The release id
Returns:
The release result
Throws:
Exception

getReleaseResultsForProjectGroup

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

Specified by:
getReleaseResultsForProjectGroup in interface ContinuumService
Parameters:
projectGroupId - The project group id
Returns:
The release result list
Throws:
Exception

removeReleaseResult

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

Specified by:
removeReleaseResult in interface ContinuumService
Parameters:
releaseResult - The project release result
Returns:
0
Throws:
Exception

getReleaseOutput

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

Specified by:
getReleaseOutput in interface ContinuumService
Parameters:
releaseId - The release id
Returns:
The release output
Throws:
Exception

addRepositoryPurgeConfiguration

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

Specified by:
addRepositoryPurgeConfiguration in interface ContinuumService
Parameters:
repoPurge - the repository purge configuration
Returns:
Throws:
Exception

updateRepositoryPurgeConfiguration

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

Specified by:
updateRepositoryPurgeConfiguration in interface ContinuumService
Parameters:
repoPurge - the repository purge configuration
Returns:
Throws:
Exception

removeRepositoryPurgeConfiguration

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

Specified by:
removeRepositoryPurgeConfiguration in interface ContinuumService
Parameters:
repoPurgeId - the repository purge configuration id
Returns:
Throws:
Exception

getRepositoryPurgeConfiguration

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

Specified by:
getRepositoryPurgeConfiguration in interface ContinuumService
Returns:
the repository purge configuration
Throws:
Exception

getAllRepositoryPurgeConfigurations

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

Specified by:
getAllRepositoryPurgeConfigurations in interface ContinuumService
Returns:
list of repository purge configurations
Throws:
Exception

addDirectoryPurgeConfiguration

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

Specified by:
addDirectoryPurgeConfiguration in interface ContinuumService
Parameters:
dirPurge - the directory purge configuration
Returns:
Throws:
Exception

updateDirectoryPurgeConfiguration

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

Specified by:
updateDirectoryPurgeConfiguration in interface ContinuumService
Parameters:
dirPurge - the directory purge configuration
Returns:
Throws:
Exception

removeDirectoryPurgeConfiguration

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

Specified by:
removeDirectoryPurgeConfiguration in interface ContinuumService
Parameters:
dirPurgeId - the directory purge configuration id
Returns:
Throws:
Exception

getDirectoryPurgeConfiguration

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

Specified by:
getDirectoryPurgeConfiguration in interface ContinuumService
Parameters:
dirPurgeId - the directory purge configuration id
Returns:
the directory purge configuration
Throws:
Exception

getAllDirectoryPurgeConfigurations

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

Specified by:
getAllDirectoryPurgeConfigurations in interface ContinuumService
Returns:
list of directory purge configurations
Throws:
Exception

purgeLocalRepository

public int purgeLocalRepository(int repoPurgeId)
                         throws Exception
Specified by:
purgeLocalRepository in interface ContinuumService
Throws:
Exception

purgeDirectory

public int purgeDirectory(int dirPurgeId)
                   throws Exception
Specified by:
purgeDirectory in interface ContinuumService
Throws:
Exception

addLocalRepository

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

Specified by:
addLocalRepository in interface ContinuumService
Parameters:
repository - the local repository to add
Returns:
Throws:
Exception

updateLocalRepository

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

Specified by:
updateLocalRepository in interface ContinuumService
Parameters:
repository - the local repository to update
Returns:
Throws:
Exception

removeLocalRepository

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

Specified by:
removeLocalRepository in interface ContinuumService
Returns:
Throws:
Exception

getLocalRepository

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

Specified by:
getLocalRepository in interface ContinuumService
Parameters:
repositoryId - the local repository id
Returns:
Throws:
Exception

getAllLocalRepositories

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

Specified by:
getAllLocalRepositories in interface ContinuumService
Returns:
Throws:
Exception

addBuildAgent

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

Specified by:
addBuildAgent in interface ContinuumService
Returns:
Throws:
Exception

getBuildAgent

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

Specified by:
getBuildAgent in interface ContinuumService
Parameters:
url - - build agent URL
Returns:

updateBuildAgent

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

Specified by:
updateBuildAgent in interface ContinuumService
Returns:
Throws:
Exception

removeBuildAgent

public boolean removeBuildAgent(String url)
                         throws Exception
Description copied from interface: ContinuumService
remove build agent in Continuum Master

Specified by:
removeBuildAgent in interface ContinuumService
Parameters:
url - - build agent URL
Returns:
Exception
Throws:
Exception

getAllBuildAgents

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

Specified by:
getAllBuildAgents in interface ContinuumService
Returns:

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

Specified by:
addAntProjectRPC in interface ContinuumService
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

Specified by:
addBuildDefinitionToProjectGroupRPC in interface ContinuumService
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

Specified by:
addBuildDefinitionToProjectRPC in interface ContinuumService
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

Specified by:
addMavenOneProjectRPC in interface ContinuumService
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

Specified by:
addMavenTwoProjectRPC in interface ContinuumService
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

Specified by:
addMavenTwoProjectRPC in interface ContinuumService
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

Specified by:
addMavenTwoProjectRPC in interface ContinuumService
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

Specified by:
addMavenTwoProjectAsSingleProjectRPC in interface ContinuumService
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

Specified by:
addMavenTwoProjectRPC in interface ContinuumService
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

Specified by:
addProjectGroupRPC in interface ContinuumService
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

Specified by:
addScheduleRPC in interface ContinuumService
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

Specified by:
addShellProjectRPC in interface ContinuumService
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

Specified by:
getAllProjectGroupsRPC in interface ContinuumService
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

Specified by:
getAllProjectGroupsWithAllDetailsRPC in interface ContinuumService
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

Specified by:
getBuildDefinitionTemplatesRPC in interface ContinuumService
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

Specified by:
getBuildDefinitionsForProjectGroupRPC in interface ContinuumService
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

Specified by:
getBuildDefinitionsForProjectRPC in interface ContinuumService
Parameters:
projectId - The project id
Returns:
The build definitions list as RPC value
Throws:
Exception

getBuildResultRPC

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

Specified by:
getBuildResultRPC in interface ContinuumService
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

Specified by:
getBuildResultsForProjectRPC in interface ContinuumService
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

Specified by:
getInstallationRPC in interface ContinuumService
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

Specified by:
getInstallationRPC in interface ContinuumService
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

Specified by:
getInstallationsRPC in interface ContinuumService
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

Specified by:
getBuildAgentInstallationsRPC in interface ContinuumService
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

Specified by:
getLatestBuildResultRPC in interface ContinuumService
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

Specified by:
getProfileRPC in interface ContinuumService
Parameters:
profileId - The profile id
Returns:
The profile.
Throws:
Exception

getProfileWithNameRPC

public Map<String,Object> getProfileWithNameRPC(String profileName)
                                         throws Exception
Specified by:
getProfileWithNameRPC in interface ContinuumService
Throws:
Exception

getProfilesRPC

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

Specified by:
getProfilesRPC in interface ContinuumService
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

Specified by:
getProjectGroupSummaryRPC in interface ContinuumService
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

Specified by:
getProjectGroupWithProjectsRPC in interface ContinuumService
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

Specified by:
updateProjectGroupRPC in interface ContinuumService
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

Specified by:
getProjectSummaryRPC in interface ContinuumService
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

Specified by:
getProjectWithAllDetailsRPC in interface ContinuumService
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

Specified by:
getProjectsRPC in interface ContinuumService
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

Specified by:
getScheduleRPC in interface ContinuumService
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

Specified by:
getSchedulesRPC in interface ContinuumService
Returns:
The schedule list as RPC value.
Throws:
Exception

getSystemConfigurationRPC

public Map<String,Object> getSystemConfigurationRPC()
                                             throws Exception
Specified by:
getSystemConfigurationRPC in interface ContinuumService
Throws:
Exception

removeBuildResultRPC

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

Specified by:
removeBuildResultRPC in interface ContinuumService
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

Specified by:
updateBuildDefinitionForProjectGroupRPC in interface ContinuumService
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

Specified by:
updateBuildDefinitionForProjectRPC in interface ContinuumService
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

Specified by:
updateProjectRPC in interface ContinuumService
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

Specified by:
updateScheduleRPC in interface ContinuumService
Parameters:
schedule - The schedule
Returns:
The schedule as RPC value.
Throws:
Exception

getProjectGroup

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

Specified by:
getProjectGroup in interface ContinuumService
Parameters:
projectGroupId - the id
Returns:
project group
Throws:
Exception

getProjectGroupRPC

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

Specified by:
getProjectGroupRPC in interface ContinuumService
Parameters:
projectGroupId - the id
Returns:
project group as RPC value
Throws:
Exception

getGroupNotifier

public ProjectNotifier getGroupNotifier(int projectgroupid,
                                        int notifierId)
                                 throws Exception
Specified by:
getGroupNotifier in interface ContinuumService
Throws:
Exception

getGroupNotifierRPC

public Map<String,Object> getGroupNotifierRPC(int projectgroupid,
                                              int notifierId)
                                       throws Exception
Specified by:
getGroupNotifierRPC in interface ContinuumService
Throws:
Exception

getNotifier

public ProjectNotifier getNotifier(int projectid,
                                   int notifierId)
                            throws Exception
Specified by:
getNotifier in interface ContinuumService
Throws:
Exception

getNotifierRPC

public Map<String,Object> getNotifierRPC(int projectid,
                                         int notifierId)
                                  throws Exception
Specified by:
getNotifierRPC in interface ContinuumService
Throws:
Exception

updateGroupNotifier

public ProjectNotifier updateGroupNotifier(int projectgroupid,
                                           ProjectNotifier newNotifier)
                                    throws Exception
Specified by:
updateGroupNotifier in interface ContinuumService
Throws:
Exception

updateGroupNotifierRPC

public Map<String,Object> updateGroupNotifierRPC(int projectgroupid,
                                                 Map<String,Object> newNotifier)
                                          throws Exception
Specified by:
updateGroupNotifierRPC in interface ContinuumService
Throws:
Exception

updateNotifier

public ProjectNotifier updateNotifier(int projectid,
                                      ProjectNotifier newNotifier)
                               throws Exception
Specified by:
updateNotifier in interface ContinuumService
Throws:
Exception

updateNotifierRPC

public Map<String,Object> updateNotifierRPC(int projectid,
                                            Map<String,Object> newNotifier)
                                     throws Exception
Specified by:
updateNotifierRPC in interface ContinuumService
Throws:
Exception

removeGroupNotifier

public int removeGroupNotifier(int projectgroupid,
                               int notifierId)
                        throws Exception
Specified by:
removeGroupNotifier in interface ContinuumService
Throws:
Exception

removeNotifier

public int removeNotifier(int projectid,
                          int notifierId)
                   throws Exception
Specified by:
removeNotifier in interface ContinuumService
Throws:
Exception

addGroupNotifier

public ProjectNotifier addGroupNotifier(int projectgroupid,
                                        ProjectNotifier newNotifier)
                                 throws Exception
Specified by:
addGroupNotifier in interface ContinuumService
Throws:
Exception

addGroupNotifierRPC

public Map<String,Object> addGroupNotifierRPC(int projectgroupid,
                                              Map<String,Object> newNotifier)
                                       throws Exception
Specified by:
addGroupNotifierRPC in interface ContinuumService
Throws:
Exception

addNotifier

public ProjectNotifier addNotifier(int projectid,
                                   ProjectNotifier newNotifier)
                            throws Exception
Specified by:
addNotifier in interface ContinuumService
Throws:
Exception

addNotifierRPC

public Map<String,Object> addNotifierRPC(int projectid,
                                         Map<String,Object> newNotifier)
                                  throws Exception
Specified by:
addNotifierRPC in interface ContinuumService
Throws:
Exception

addInstallation

public Installation addInstallation(Installation installation)
                             throws Exception
Specified by:
addInstallation in interface ContinuumService
Throws:
Exception

addInstallationRPC

public Map<String,Object> addInstallationRPC(Map<String,Object> installation)
                                      throws Exception
Specified by:
addInstallationRPC in interface ContinuumService
Throws:
Exception

addProfile

public Profile addProfile(Profile profile)
                   throws Exception
Specified by:
addProfile in interface ContinuumService
Throws:
Exception

addProfileRPC

public Map<String,Object> addProfileRPC(Map<String,Object> profile)
                                 throws Exception
Specified by:
addProfileRPC in interface ContinuumService
Throws:
Exception

deleteInstallation

public int deleteInstallation(int installationId)
                       throws Exception
Specified by:
deleteInstallation in interface ContinuumService
Throws:
Exception

deleteProfile

public int deleteProfile(int profileId)
                  throws Exception
Specified by:
deleteProfile in interface ContinuumService
Throws:
Exception

updateInstallation

public int updateInstallation(Installation installation)
                       throws Exception
Specified by:
updateInstallation in interface ContinuumService
Throws:
Exception

updateInstallationRPC

public int updateInstallationRPC(Map<String,Object> installation)
                          throws Exception
Specified by:
updateInstallationRPC in interface ContinuumService
Throws:
Exception

updateProfile

public int updateProfile(Profile profile)
                  throws Exception
Specified by:
updateProfile in interface ContinuumService
Throws:
Exception

updateProfileRPC

public int updateProfileRPC(Map<String,Object> profile)
                     throws Exception
Specified by:
updateProfileRPC in interface ContinuumService
Throws:
Exception

getReleaseResultRPC

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

Specified by:
getReleaseResultRPC in interface ContinuumService
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

Specified by:
getReleaseResultsForProjectGroupRPC in interface ContinuumService
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

Specified by:
removeReleaseResultRPC in interface ContinuumService
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

Specified by:
addRepositoryPurgeConfigurationRPC in interface ContinuumService
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

Specified by:
updateRepositoryPurgeConfigurationRPC in interface ContinuumService
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

Specified by:
getRepositoryPurgeConfigurationRPC in interface ContinuumService
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

Specified by:
getAllRepositoryPurgeConfigurationsRPC in interface ContinuumService
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

Specified by:
addDirectoryPurgeConfigurationRPC in interface ContinuumService
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

Specified by:
updateDirectoryPurgeConfigurationRPC in interface ContinuumService
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

Specified by:
getDirectoryPurgeConfigurationRPC in interface ContinuumService
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

Specified by:
getAllDirectoryPurgeConfigurationsRPC in interface ContinuumService
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

Specified by:
addLocalRepositoryRPC in interface ContinuumService
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

Specified by:
updateLocalRepositoryRPC in interface ContinuumService
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

Specified by:
getLocalRepositoryRPC in interface ContinuumService
Returns:
Throws:
Exception

getAllLocalRepositoriesRPC

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

Specified by:
getAllLocalRepositoriesRPC in interface ContinuumService
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

Specified by:
addBuildAgentRPC in interface ContinuumService
Returns:
Throws:
Exception

getBuildAgentRPC

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

Specified by:
getBuildAgentRPC in interface ContinuumService
Parameters:
url - - build agent URL
Returns:

updateBuildAgentRPC

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

Specified by:
updateBuildAgentRPC in interface ContinuumService
Returns:
Throws:
Exception

getAllBuildAgentsRPC

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

Specified by:
getAllBuildAgentsRPC in interface ContinuumService
Returns:

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

Specified by:
releasePerform in interface ContinuumService
Returns:
Throws:
Exception

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

Specified by:
releasePrepare in interface ContinuumService
Returns:
The release id
Throws:
Exception

getListener

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

Specified by:
getListener in interface ContinuumService
Returns:
Throws:
Exception

releaseCleanup

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

Specified by:
releaseCleanup in interface ContinuumService
Returns:
Throws:
Exception

releaseCleanup

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

Specified by:
releaseCleanup in interface ContinuumService
Returns:
Throws:
Exception

releaseRollback

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

Specified by:
releaseRollback in interface ContinuumService
Returns:
Throws:
Exception

getReleasePluginParameters

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

Specified by:
getReleasePluginParameters in interface ContinuumService
Returns:
Throws:
Exception

getProjectReleaseAndDevelopmentVersions

public List<Map<String,String>> getProjectReleaseAndDevelopmentVersions(int projectId,
                                                                        String pomFilename,
                                                                        boolean autoVersionSubmodules)
                                                                 throws Exception
Specified by:
getProjectReleaseAndDevelopmentVersions in interface ContinuumService
Throws:
Exception

pingBuildAgent

public boolean pingBuildAgent(String buildAgentUrl)
                       throws Exception
Specified by:
pingBuildAgent in interface ContinuumService
Throws:
Exception

getBuildAgentUrl

public String getBuildAgentUrl(int projectId,
                               int buildDefinitionId)
                        throws Exception
Description copied from interface: ContinuumService
Get the url of the build agent that is processing the project

Specified by:
getBuildAgentUrl in interface ContinuumService
Parameters:
projectId - project Id
Returns:
build agent url
Throws:
Exception

getBuildDefinition

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

Specified by:
getBuildDefinition in interface ContinuumService
Parameters:
buildDefinitionId - The build definition id
Returns:
The build definition
Throws:
Exception

getBuildDefinitionRPC

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

Specified by:
getBuildDefinitionRPC in interface ContinuumService
Parameters:
buildDefinitionId - The build definition id
Returns:
The build definition as RPC value
Throws:
Exception

addBuildAgentGroup

public BuildAgentGroupConfiguration addBuildAgentGroup(BuildAgentGroupConfiguration buildAgentGroup)
                                                throws Exception
Specified by:
addBuildAgentGroup in interface ContinuumService
Throws:
Exception

addBuildAgentGroupRPC

public Map<String,Object> addBuildAgentGroupRPC(Map<String,Object> buildAgentGroup)
                                         throws Exception
Specified by:
addBuildAgentGroupRPC in interface ContinuumService
Throws:
Exception

getBuildAgentGroup

public BuildAgentGroupConfiguration getBuildAgentGroup(String name)
Specified by:
getBuildAgentGroup in interface ContinuumService

getBuildAgentGroupRPC

public Map<String,Object> getBuildAgentGroupRPC(String name)
Specified by:
getBuildAgentGroupRPC in interface ContinuumService

updateBuildAgentGroup

public BuildAgentGroupConfiguration updateBuildAgentGroup(BuildAgentGroupConfiguration buildAgentGroup)
                                                   throws Exception
Specified by:
updateBuildAgentGroup in interface ContinuumService
Throws:
Exception

updateBuildAgentGroupRPC

public Map<String,Object> updateBuildAgentGroupRPC(Map<String,Object> buildAgentGroup)
                                            throws Exception
Specified by:
updateBuildAgentGroupRPC in interface ContinuumService
Throws:
Exception

removeBuildAgentGroup

public int removeBuildAgentGroup(String name)
                          throws Exception
Specified by:
removeBuildAgentGroup in interface ContinuumService
Throws:
Exception

getBuildAgentsWithInstallations

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

Specified by:
getBuildAgentsWithInstallations in interface ContinuumService
Returns:
Throws:
Exception

getBuildAgentsWithInstallationsRPC

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

Specified by:
getBuildAgentsWithInstallationsRPC in interface ContinuumService
Returns:
Throws:
Exception


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