|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.maven.continuum.xmlrpc.server.AbstractContinuumSecureService org.apache.maven.continuum.xmlrpc.server.ContinuumServiceImpl
public class ContinuumServiceImpl
Constructor Summary | |
---|---|
ContinuumServiceImpl()
|
Method Summary | |
---|---|
ProjectSummary |
addAntProject(ProjectSummary project,
int projectGroupId)
Add an ANT project in the specified group. |
Map<String,Object> |
addAntProjectRPC(Map<String,Object> project,
int projectGroupId)
Same method but compatible with standard XMLRPC |
BuildAgentConfiguration |
addBuildAgent(BuildAgentConfiguration buildAgentConfiguration)
Add/Register build agent to Continuum Master |
BuildAgentGroupConfiguration |
addBuildAgentGroup(BuildAgentGroupConfiguration buildAgentGroup)
|
Map<String,Object> |
addBuildAgentGroupRPC(Map<String,Object> buildAgentGroup)
|
Map<String,Object> |
addBuildAgentRPC(Map<String,Object> buildAgentConfiguration)
Same method but compatible with standard XMLRPC |
BuildDefinition |
addBuildDefinitionToProject(int projectId,
BuildDefinition buildDef)
Add a project build definition. |
BuildDefinition |
addBuildDefinitionToProjectGroup(int projectGroupId,
BuildDefinition buildDef)
Add a project group buildDefinition. |
Map<String,Object> |
addBuildDefinitionToProjectGroupRPC(int projectGroupId,
Map<String,Object> buildDef)
Same method but compatible with standard XMLRPC |
Map<String,Object> |
addBuildDefinitionToProjectRPC(int projectId,
Map<String,Object> buildDef)
Same method but compatible with standard XMLRPC |
DirectoryPurgeConfiguration |
addDirectoryPurgeConfiguration(DirectoryPurgeConfiguration dirPurge)
Add a directory purge configuration |
Map<String,Object> |
addDirectoryPurgeConfigurationRPC(Map<String,Object> dirPurge)
Same method but compatible with the standard XMLRPC |
ProjectNotifier |
addGroupNotifier(int projectgroupid,
ProjectNotifier newNotifier)
|
Map<String,Object> |
addGroupNotifierRPC(int projectgroupid,
Map<String,Object> newNotifier)
|
Installation |
addInstallation(Installation installation)
|
Map<String,Object> |
addInstallationRPC(Map<String,Object> installation)
|
LocalRepository |
addLocalRepository(LocalRepository repository)
Add a local repository |
Map<String,Object> |
addLocalRepositoryRPC(Map<String,Object> repository)
Same method but compatible with the standard XMLRPC |
AddingResult |
addMavenOneProject(String url,
int projectGroupId)
Add a maven 1.x project from an url. |
Map<String,Object> |
addMavenOneProjectRPC(String url,
int projectGroupId)
Same method but compatible with standard XMLRPC |
AddingResult |
addMavenTwoProject(String url)
Add a maven 2.x project from an url. |
AddingResult |
addMavenTwoProject(String url,
int projectGroupId)
Add a maven 2.x project from an url. |
AddingResult |
addMavenTwoProject(String url,
int projectGroupId,
boolean checkoutInSingleDirectory)
Add a maven 2.x project from an url. |
AddingResult |
addMavenTwoProject(String url,
int projectGroupId,
boolean checkProtocol,
boolean useCredentialsCache,
boolean recursiveProjects,
boolean checkoutInSingleDirectory)
Add a maven 2.x multi-module project from a url |
AddingResult |
addMavenTwoProjectAsSingleProject(String url,
int projectGroupId)
Add a maven 2.x multi-module project from a url and add it to Continuum as a single project instead of as multiple projects (one project per module). |
Map<String,Object> |
addMavenTwoProjectAsSingleProjectRPC(String url,
int projectGroupId)
Same method but compatible with standard XMLRPC |
Map<String,Object> |
addMavenTwoProjectRPC(String url)
Same method but compatible with standard XMLRPC |
Map<String,Object> |
addMavenTwoProjectRPC(String url,
int projectGroupId)
Same method but compatible with standard XMLRPC |
Map<String,Object> |
addMavenTwoProjectRPC(String url,
int projectGroupId,
boolean checkoutInSingleDirectory)
Same method but compatible with standard XMLRPC |
Map<String,Object> |
addMavenTwoProjectRPC(String url,
int projectGroupId,
boolean checkProtocol,
boolean useCredentialsCache,
boolean recursiveProjects,
boolean checkoutInSingleDirectory)
Same method but compatible with standard XMLRPC |
ProjectNotifier |
addNotifier(int projectid,
ProjectNotifier newNotifier)
|
Map<String,Object> |
addNotifierRPC(int projectid,
Map<String,Object> newNotifier)
|
Profile |
addProfile(Profile profile)
|
Map<String,Object> |
addProfileRPC(Map<String,Object> profile)
|
ProjectGroupSummary |
addProjectGroup(String groupName,
String groupId,
String description)
Add a project Group. |
Map<String,Object> |
addProjectGroupRPC(String groupName,
String groupId,
String description)
Same method but compatible with standard XMLRPC |
int |
addProjectToBuildQueue(int projectId)
Add the project to the build queue. |
int |
addProjectToBuildQueue(int projectId,
int buildDefinitionId)
Add the project to the build queue. |
RepositoryPurgeConfiguration |
addRepositoryPurgeConfiguration(RepositoryPurgeConfiguration repoPurge)
Add a repository purge configuration |
Map<String,Object> |
addRepositoryPurgeConfigurationRPC(Map<String,Object> repoPurge)
Same method but compatible with the standard XMLRPC |
Schedule |
addSchedule(Schedule schedule)
Add the schedule. |
Map<String,Object> |
addScheduleRPC(Map<String,Object> schedule)
Same method but compatible with standard XMLRPC |
ProjectSummary |
addShellProject(ProjectSummary project,
int projectGroupId)
Add an shell project in the specified group. |
Map<String,Object> |
addShellProjectRPC(Map<String,Object> project,
int projectGroupId)
Same method but compatible with standard XMLRPC |
int |
buildGroup(int projectGroupId)
Build the project group with the default build definition. |
int |
buildGroup(int projectGroupId,
int buildDefinitionId)
Build the project group with the specified build definition. |
int |
buildProject(int projectId)
Build the project |
int |
buildProject(int projectId,
BuildTrigger xmlrpcBuildTrigger)
Forced build the project |
int |
buildProject(int projectId,
int buildDefinitionId)
Build the project |
int |
buildProject(int projectId,
int buildDefinitionId,
BuildTrigger xmlrpcBuildTrigger)
Forced build the project |
protected void |
buildProjectWithBuildDefinition(int projectId,
int buildDefinitionId,
BuildTrigger buildTrigger)
|
boolean |
cancelBuild(int projectId,
int buildDefinitionId)
Cancel a project build |
boolean |
cancelCurrentBuild()
Cancel the current project build |
int |
deleteInstallation(int installationId)
|
int |
deleteProfile(int profileId)
|
List<BuildAgentConfiguration> |
getAllBuildAgents()
List all build agent in Continuum Master |
List<Object> |
getAllBuildAgentsRPC()
Same method but compatible with standard XMLRPC |
List<DirectoryPurgeConfiguration> |
getAllDirectoryPurgeConfigurations()
Returns directory purge configurations list |
List<Object> |
getAllDirectoryPurgeConfigurationsRPC()
Same method but compatible with standard XMLRPC |
List<LocalRepository> |
getAllLocalRepositories()
Returns all local repositories |
List<Object> |
getAllLocalRepositoriesRPC()
Same method but compatible with the standard XMLRPC |
List<ProjectGroupSummary> |
getAllProjectGroups()
Get all project groups. |
List<Object> |
getAllProjectGroupsRPC()
Same method but compatible with standard XMLRPC |
List<ProjectGroup> |
getAllProjectGroupsWithAllDetails()
Get all project groups with all details (project summaries, notifiers, build definitions). |
List<Object> |
getAllProjectGroupsWithAllDetailsRPC()
Same method but compatible with standard XMLRPC |
List<ProjectGroup> |
getAllProjectGroupsWithProjects()
Get all project groups with all details. |
List<RepositoryPurgeConfiguration> |
getAllRepositoryPurgeConfigurations()
Returns repository purge configurations list |
List<Object> |
getAllRepositoryPurgeConfigurationsRPC()
Same method but compatible with standard XMLRPC |
BuildAgentConfiguration |
getBuildAgent(String url)
Get build agent in Continuum Master |
BuildAgentGroupConfiguration |
getBuildAgentGroup(String name)
|
Map<String,Object> |
getBuildAgentGroupRPC(String name)
|
List<Installation> |
getBuildAgentInstallations(String url)
Return the installations list defined by this URL. |
List<Object> |
getBuildAgentInstallationsRPC(String url)
Same method but compatible with standard XMLRPC |
Map<String,Object> |
getBuildAgentRPC(String url)
Same method but compatible with standard XMLRPC |
List<BuildAgentConfiguration> |
getBuildAgentsWithInstallations()
Retrieve all enabled build agents with their available installations |
List<Object> |
getBuildAgentsWithInstallationsRPC()
Same method but compatible with standard XMLRPC |
String |
getBuildAgentUrl(int projectId,
int buildDefinitionId)
Get the url of the build agent that is processing the project |
BuildDefinition |
getBuildDefinition(int buildDefinitionId)
Get the build definition |
Map<String,Object> |
getBuildDefinitionRPC(int buildDefinitionId)
Same method but compatible with standard XMLRPC |
List<BuildDefinition> |
getBuildDefinitionsForProject(int projectId)
Get the build definitions list of the project. |
List<BuildDefinition> |
getBuildDefinitionsForProjectGroup(int projectGroupId)
Get the build definitions list of the project group. |
List<Object> |
getBuildDefinitionsForProjectGroupRPC(int projectGroupId)
Same method but compatible with standard XMLRPC |
List<Object> |
getBuildDefinitionsForProjectRPC(int projectId)
Same method but compatible with standard XMLRPC |
List<BuildDefinitionTemplate> |
getBuildDefinitionTemplates()
Get the build definition templates list. |
List<Object> |
getBuildDefinitionTemplatesRPC()
Same method but compatible with standard XMLRPC |
String |
getBuildOutput(int projectId,
int buildId)
Returns the build output. |
BuildResult |
getBuildResult(int projectId,
int buildId)
Returns the build result. |
Map<String,Object> |
getBuildResultRPC(int projectId,
int buildId)
Same method but compatible with standard XMLRPC |
List<BuildResultSummary> |
getBuildResultsForProject(int projectId)
Returns the project build result summary list. |
List<Object> |
getBuildResultsForProjectRPC(int projectId)
Same method but compatible with standard XMLRPC |
DirectoryPurgeConfiguration |
getDirectoryPurgeConfiguration(int dirPurgeId)
Returns the directory purge configuration |
Map<String,Object> |
getDirectoryPurgeConfigurationRPC(int dirPurgeId)
Same method but compatible with standard XMLRPC |
ProjectNotifier |
getGroupNotifier(int projectgroupid,
int notifierId)
|
Map<String,Object> |
getGroupNotifierRPC(int projectgroupid,
int notifierId)
|
Installation |
getInstallation(int installationId)
Return the installation defined by this id. |
Installation |
getInstallation(String installationName)
Return the installation defined by this name |
Map<String,Object> |
getInstallationRPC(int installationId)
Same method but compatible with standard XMLRPC |
Map<String,Object> |
getInstallationRPC(String installationName)
Same method but compatible with standard XMLRPC |
List<Installation> |
getInstallations()
Return the installations list. |
List<Object> |
getInstallationsRPC()
Same method but compatible with standard XMLRPC |
BuildResult |
getLatestBuildResult(int projectId)
Returns the latest build result for the project. |
Map<String,Object> |
getLatestBuildResultRPC(int projectId)
Same method but compatible with standard XMLRPC |
ReleaseListenerSummary |
getListener(int projectId,
String releaseId)
Get release listener |
LocalRepository |
getLocalRepository(int repositoryId)
Returns the local repository |
Map<String,Object> |
getLocalRepositoryRPC(int repositoryId)
Same method but compatible with the standard XMLRPC |
ProjectNotifier |
getNotifier(int projectid,
int notifierId)
|
Map<String,Object> |
getNotifierRPC(int projectid,
int notifierId)
|
Profile |
getProfile(int profileId)
Return the profile defined by this id. |
Map<String,Object> |
getProfileRPC(int profileId)
Same method but compatible with standard XMLRPC |
List<Profile> |
getProfiles()
Return the profiles list. |
List<Object> |
getProfilesRPC()
Same method but compatible with standard XMLRPC |
Profile |
getProfileWithName(String profileName)
|
Map<String,Object> |
getProfileWithNameRPC(String profileName)
|
ProjectGroup |
getProjectGroup(int projectGroupId)
Get a project groups. |
protected String |
getProjectGroupName(int projectGroupId)
|
Map<String,Object> |
getProjectGroupRPC(int projectGroupId)
Same method but compatible with standard XMLRPC |
ProjectGroupSummary |
getProjectGroupSummary(int projectGroupId)
Get a project group. |
Map<String,Object> |
getProjectGroupSummaryRPC(int projectGroupId)
Same method but compatible with standard XMLRPC |
ProjectGroup |
getProjectGroupWithProjects(int projectGroupId)
Get a project group with all details. |
Map<String,Object> |
getProjectGroupWithProjectsRPC(int projectGroupId)
Same method but compatible with standard XMLRPC |
List<Map<String,String>> |
getProjectReleaseAndDevelopmentVersions(int projectId,
String pomFilename,
boolean autoVersionSubmodules)
|
List<ProjectSummary> |
getProjects(int projectGroupId)
Get All projects. |
ProjectScmRoot |
getProjectScmRootByProject(int projectId)
Get the SCM root for a specific project |
List<ProjectScmRoot> |
getProjectScmRootByProjectGroup(int projectGroupId)
Get the SCM roots for all projects in a project group |
List<BuildProjectTask> |
getProjectsInBuildQueue()
Return projects building queue. |
List<Object> |
getProjectsRPC(int projectGroupId)
Same method but compatible with standard XMLRPC |
ProjectSummary |
getProjectSummary(int projectId)
Get a project. |
Map<String,Object> |
getProjectSummaryRPC(int projectId)
Same method but compatible with standard XMLRPC |
Project |
getProjectWithAllDetails(int projectId)
Get a project with all details. |
Map<String,Object> |
getProjectWithAllDetailsRPC(int projectId)
Same method but compatible with standard XMLRPC |
String |
getReleaseOutput(int releaseId)
Returns the release output. |
Map<String,Object> |
getReleasePluginParameters(int projectId)
Get release plugin parameters |
ContinuumReleaseResult |
getReleaseResult(int releaseId)
Returns the release result. |
Map<String,Object> |
getReleaseResultRPC(int releaseId)
Same method but compatible with standard XMLRPC |
List<ContinuumReleaseResult> |
getReleaseResultsForProjectGroup(int projectGroupId)
Returns the project group release result list. |
List<Object> |
getReleaseResultsForProjectGroupRPC(int projectGroupId)
Same method but compatible with standard XMLRPC |
RepositoryPurgeConfiguration |
getRepositoryPurgeConfiguration(int repoPurgeId)
Returns the repository purge configuration |
Map<String,Object> |
getRepositoryPurgeConfigurationRPC(int repoPurgeId)
Same method but compatible with standard XMLRPC |
Schedule |
getSchedule(int scheduleId)
Return the schedule defined by this id. |
Map<String,Object> |
getScheduleRPC(int scheduleId)
Same method but compatible with standard XMLRPC |
List<Schedule> |
getSchedules()
Return the schedules list. |
List<Object> |
getSchedulesRPC()
Same method but compatible with standard XMLRPC |
SystemConfiguration |
getSystemConfiguration()
|
Map<String,Object> |
getSystemConfigurationRPC()
|
boolean |
isProjectCurrentlyBuilding(int projectId)
Return true if the project is currently building |
boolean |
isProjectCurrentlyBuilding(int projectId,
int buildDefinitionId)
Return true if the project is currently building |
boolean |
isProjectCurrentlyPreparingBuild(int projectId)
Return true if the project is currently preparing build |
boolean |
isProjectCurrentlyPreparingBuild(int projectId,
int buildDefinitionId)
Return true if the project is currently preparing build |
boolean |
isProjectInBuildingQueue(int projectId)
Return true if the project is in building queue. |
boolean |
isProjectInBuildingQueue(int projectId,
int buildDefinitionId)
Return true if the project is in building queue. |
boolean |
isProjectInPrepareBuildQueue(int projectId)
Return true if the project is in prepare build queue |
boolean |
isProjectInPrepareBuildQueue(int projectId,
int buildDefinitionId)
Return true if the project is in prepare build queue |
boolean |
ping()
|
boolean |
pingBuildAgent(String buildAgentUrl)
|
protected BuildDefinition |
populateBuildDefinition(BuildDefinition buildDef,
BuildDefinition bd)
|
int |
purgeDirectory(int dirPurgeId)
|
int |
purgeLocalRepository(int repoPurgeId)
|
int |
releaseCleanup(int projectId,
String releaseId)
Cleanup the release |
int |
releaseCleanup(int projectId,
String releaseId,
String releaseType)
Cleanup the release |
int |
releasePerform(int projectId,
String releaseId,
String goals,
String arguments,
boolean useReleaseProfile,
String repositoryName,
String username)
Release perform a project |
String |
releasePrepare(int projectId,
Properties releaseProperties,
Map<String,String> releaseVersions,
Map<String,String> developmentVersions,
Map<String,String> environments,
String username)
Release prepare a project |
int |
releaseRollback(int projectId,
String releaseId)
Rollback a release |
boolean |
removeBuildAgent(String url)
remove build agent in Continuum Master |
int |
removeBuildAgentGroup(String name)
|
int |
removeBuildDefinitionFromProjectGroup(int projectGroupId,
int buildDefinitionId)
|
int |
removeBuildResult(BuildResult br)
Remove the project build result. |
int |
removeBuildResultRPC(Map<String,Object> br)
Same method but compatible with standard XMLRPC |
int |
removeDirectoryPurgeConfiguration(int dirPurgeId)
Removes the directory purge configuration |
int |
removeGroupNotifier(int projectgroupid,
int notifierId)
|
int |
removeLocalRepository(int repositoryId)
Remove the local repository |
int |
removeNotifier(int projectid,
int notifierId)
|
int |
removeProject(int projectId)
Remove a project. |
int |
removeProjectGroup(int projectGroupId)
Remove a project group. |
int |
removeProjectsFromBuildingQueue(int[] projectsId)
Remove projects from build queue |
int |
removeReleaseResult(ContinuumReleaseResult releaseResult)
Remove the project release result. |
int |
removeReleaseResultRPC(Map<String,Object> rr)
Same method but compatible with standard XMLRPC |
int |
removeRepositoryPurgeConfiguration(int repoPurgeId)
Remove repository purge configuration |
void |
setContinuum(Continuum continuum)
|
void |
setDistributedBuildManager(DistributedBuildManager distributedBuildManager)
|
void |
setRoleManager(org.codehaus.plexus.redback.role.RoleManager roleManager)
|
BuildAgentConfiguration |
updateBuildAgent(BuildAgentConfiguration buildAgentConfiguration)
Update build agent in Continuum Master |
BuildAgentGroupConfiguration |
updateBuildAgentGroup(BuildAgentGroupConfiguration buildAgentGroup)
|
Map<String,Object> |
updateBuildAgentGroupRPC(Map<String,Object> buildAgentGroup)
|
Map<String,Object> |
updateBuildAgentRPC(Map<String,Object> buildAgentConfiguration)
Same method but compatible with standard XMLRPC |
BuildDefinition |
updateBuildDefinitionForProject(int projectId,
BuildDefinition buildDef)
Update a project build definition. |
BuildDefinition |
updateBuildDefinitionForProjectGroup(int projectGroupId,
BuildDefinition buildDef)
Update a project group build definition. |
Map<String,Object> |
updateBuildDefinitionForProjectGroupRPC(int projectGroupId,
Map<String,Object> buildDef)
Same method but compatible with standard XMLRPC |
Map<String,Object> |
updateBuildDefinitionForProjectRPC(int projectId,
Map<String,Object> buildDef)
Same method but compatible with standard XMLRPC |
int |
updateDirectoryPurgeConfiguration(DirectoryPurgeConfiguration dirPurge)
Update the directory purge configuration |
int |
updateDirectoryPurgeConfigurationRPC(Map<String,Object> dirPurge)
Same method but compatible with the standard XMLRPC |
ProjectNotifier |
updateGroupNotifier(int projectgroupid,
ProjectNotifier newNotifier)
|
Map<String,Object> |
updateGroupNotifierRPC(int projectgroupid,
Map<String,Object> newNotifier)
|
int |
updateInstallation(Installation installation)
|
int |
updateInstallationRPC(Map<String,Object> installation)
|
int |
updateLocalRepository(LocalRepository repository)
Update the local repository |
int |
updateLocalRepositoryRPC(Map<String,Object> repository)
Same method but compatible with the standard XMLRPC |
ProjectNotifier |
updateNotifier(int projectid,
ProjectNotifier newNotifier)
|
Map<String,Object> |
updateNotifierRPC(int projectid,
Map<String,Object> newNotifier)
|
int |
updateProfile(Profile profile)
|
int |
updateProfileRPC(Map<String,Object> profile)
|
ProjectSummary |
updateProject(ProjectSummary project)
Update a project. |
ProjectGroupSummary |
updateProjectGroup(ProjectGroupSummary projectGroup)
Update a project Group. |
Map<String,Object> |
updateProjectGroupRPC(Map<String,Object> projectGroup)
Same method but compatible with standard XMLRPC |
Map<String,Object> |
updateProjectRPC(Map<String,Object> project)
Same method but compatible with standard XMLRPC |
int |
updateRepositoryPurgeConfiguration(RepositoryPurgeConfiguration repoPurge)
Update the repository purge configuration |
int |
updateRepositoryPurgeConfigurationRPC(Map<String,Object> repoPurge)
Same method but compatible with the standard XMLRPC |
Schedule |
updateSchedule(Schedule schedule)
Update the schedule. |
Map<String,Object> |
updateScheduleRPC(Map<String,Object> schedule)
Same method but compatible with standard XMLRPC |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ContinuumServiceImpl()
Method Detail |
---|
public boolean ping() throws ContinuumException
ContinuumException
public List<ProjectSummary> getProjects(int projectGroupId) throws ContinuumException
ContinuumService
projectGroupId
- The project group Id
ProjectSummary
ContinuumException
public ProjectSummary getProjectSummary(int projectId) throws ContinuumException
ContinuumService
projectId
- the project id
ContinuumException
public Project getProjectWithAllDetails(int projectId) throws ContinuumException
ContinuumService
projectId
- The project id
ContinuumException
public int removeProject(int projectId) throws ContinuumException
ContinuumService
projectId
- The project id
ContinuumException
public ProjectSummary updateProject(ProjectSummary project) throws ContinuumException
ContinuumService
project
- The project to update
ContinuumException
public List<ProjectGroupSummary> getAllProjectGroups() throws ContinuumException
ContinuumService
ContinuumException
public ProjectGroup getProjectGroup(int projectGroupId) throws ContinuumException
ContinuumService
projectGroupId
- the id
ContinuumException
public List<ProjectGroup> getAllProjectGroupsWithAllDetails() throws ContinuumException
ContinuumService
ContinuumException
public List<ProjectGroup> getAllProjectGroupsWithProjects() throws ContinuumException
ContinuumService
ContinuumException
protected String getProjectGroupName(int projectGroupId) throws ContinuumException
ContinuumException
public ProjectGroupSummary getProjectGroupSummary(int projectGroupId) throws ContinuumException
ContinuumService
projectGroupId
- The project group id
ContinuumException
public ProjectGroup getProjectGroupWithProjects(int projectGroupId) throws ContinuumException
ContinuumService
projectGroupId
- The project group id
ContinuumException
public int removeProjectGroup(int projectGroupId) throws ContinuumException
ContinuumService
projectGroupId
- The project group id
ContinuumException
public ProjectGroupSummary updateProjectGroup(ProjectGroupSummary projectGroup) throws ContinuumException
ContinuumService
projectGroup
- The project group to update
ContinuumException
public ProjectGroupSummary addProjectGroup(String groupName, String groupId, String description) throws Exception
ContinuumService
groupName
- The project group namegroupId
- The project group iddescription
- The project group description
Exception
public ProjectNotifier getNotifier(int projectid, int notifierId) throws ContinuumException
ContinuumException
public ProjectNotifier updateNotifier(int projectid, ProjectNotifier newNotifier) throws ContinuumException
ContinuumException
public ProjectNotifier addNotifier(int projectid, ProjectNotifier newNotifier) throws ContinuumException
ContinuumException
public int removeNotifier(int projectid, int notifierId) throws ContinuumException
ContinuumException
public ProjectNotifier getGroupNotifier(int projectgroupid, int notifierId) throws ContinuumException
ContinuumException
public ProjectNotifier updateGroupNotifier(int projectgroupid, ProjectNotifier newNotifier) throws ContinuumException
ContinuumException
public ProjectNotifier addGroupNotifier(int projectgroupid, ProjectNotifier newNotifier) throws ContinuumException
ContinuumException
public int removeGroupNotifier(int projectgroupid, int notifierId) throws ContinuumException
ContinuumException
public List<BuildDefinition> getBuildDefinitionsForProject(int projectId) throws ContinuumException
ContinuumService
projectId
- The project id
ContinuumException
public List<BuildDefinition> getBuildDefinitionsForProjectGroup(int projectGroupId) throws ContinuumException
ContinuumService
projectGroupId
- The project group id
ContinuumException
public BuildDefinition getBuildDefinition(int buildDefinitionId) throws Exception
ContinuumService
buildDefinitionId
- The build definition id
Exception
public int removeBuildDefinitionFromProjectGroup(int projectGroupId, int buildDefinitionId) throws ContinuumException
ContinuumException
public BuildDefinition updateBuildDefinitionForProject(int projectId, BuildDefinition buildDef) throws ContinuumException
ContinuumService
projectId
- The project idbuildDef
- The build definition to update
ContinuumException
public BuildDefinition updateBuildDefinitionForProjectGroup(int projectGroupId, BuildDefinition buildDef) throws ContinuumException
ContinuumService
projectGroupId
- The project group idbuildDef
- The build definition to update
ContinuumException
public BuildDefinition addBuildDefinitionToProject(int projectId, BuildDefinition buildDef) throws ContinuumException
ContinuumService
projectId
- The project idbuildDef
- The build definition to update
ContinuumException
public BuildDefinition addBuildDefinitionToProjectGroup(int projectGroupId, BuildDefinition buildDef) throws ContinuumException
ContinuumService
projectGroupId
- The project group idbuildDef
- The build definition to update
ContinuumException
public List<BuildDefinitionTemplate> getBuildDefinitionTemplates() throws Exception
ContinuumService
Exception
public int addProjectToBuildQueue(int projectId) throws ContinuumException, NoBuildAgentException, NoBuildAgentInGroupException
ContinuumService
projectId
- The project id
ContinuumException
NoBuildAgentException
NoBuildAgentInGroupException
public int addProjectToBuildQueue(int projectId, int buildDefinitionId) throws ContinuumException, NoBuildAgentException, NoBuildAgentInGroupException
ContinuumService
projectId
- The project idbuildDefinitionId
- The build definition id
ContinuumException
NoBuildAgentException
NoBuildAgentInGroupException
public int buildProject(int projectId) throws ContinuumException, NoBuildAgentException, NoBuildAgentInGroupException
ContinuumService
projectId
- The project id
ContinuumException
NoBuildAgentException
NoBuildAgentInGroupException
public int buildProject(int projectId, int buildDefinitionId) throws ContinuumException, NoBuildAgentException, NoBuildAgentInGroupException
ContinuumService
projectId
- The project idbuildDefinitionId
- The build definition id
ContinuumException
NoBuildAgentException
NoBuildAgentInGroupException
public int buildProject(int projectId, BuildTrigger xmlrpcBuildTrigger) throws ContinuumException, NoBuildAgentException, NoBuildAgentInGroupException
ContinuumService
projectId
- The project idxmlrpcBuildTrigger
- The build trigger
ContinuumException
NoBuildAgentException
NoBuildAgentInGroupException
public int buildProject(int projectId, int buildDefinitionId, BuildTrigger xmlrpcBuildTrigger) throws ContinuumException, NoBuildAgentException, NoBuildAgentInGroupException
ContinuumService
projectId
- The project idbuildDefinitionId
- The build definition idxmlrpcBuildTrigger
- The build trigger
ContinuumException
NoBuildAgentException
NoBuildAgentInGroupException
public int buildGroup(int projectGroupId) throws ContinuumException, NoBuildAgentException, NoBuildAgentInGroupException
ContinuumService
projectGroupId
- The project group id
ContinuumException
NoBuildAgentException
NoBuildAgentInGroupException
public int buildGroup(int projectGroupId, int buildDefinitionId) throws ContinuumException, NoBuildAgentException, NoBuildAgentInGroupException
ContinuumService
projectGroupId
- The project group idbuildDefinitionId
- The build definition id
ContinuumException
NoBuildAgentException
NoBuildAgentInGroupException
public List<ProjectScmRoot> getProjectScmRootByProjectGroup(int projectGroupId) throws ContinuumException
ContinuumService
projectGroupId
- the project group id
ContinuumException
public ProjectScmRoot getProjectScmRootByProject(int projectId) throws ContinuumException
ContinuumService
projectId
- the project id
ContinuumException
public BuildResult getLatestBuildResult(int projectId) throws ContinuumException
ContinuumService
projectId
- The project id
ContinuumException
public BuildResult getBuildResult(int projectId, int buildId) throws ContinuumException
ContinuumService
projectId
- The project idbuildId
- The build id
ContinuumException
public List<BuildResultSummary> getBuildResultsForProject(int projectId) throws ContinuumException
ContinuumService
projectId
- The project id
ContinuumException
public int removeBuildResult(BuildResult br) throws ContinuumException
ContinuumService
br
- The project build result
ContinuumException
public String getBuildOutput(int projectId, int buildId) throws ContinuumException
ContinuumService
projectId
- The project idbuildId
- The build id
ContinuumException
public AddingResult addMavenTwoProject(String url) throws ContinuumException
ContinuumService
url
- The POM url
ContinuumException
public AddingResult addMavenTwoProject(String url, int projectGroupId) throws ContinuumException
ContinuumService
url
- The POM urlprojectGroupId
- The id of the group where projects will be stored
ContinuumException
public AddingResult addMavenTwoProject(String url, int projectGroupId, boolean checkoutInSingleDirectory) throws ContinuumException
ContinuumService
url
- The POM urlprojectGroupId
- The id of the group where projects will be stored
ContinuumException
public AddingResult addMavenTwoProjectAsSingleProject(String url, int projectGroupId) throws Exception
ContinuumService
Exception
public AddingResult addMavenTwoProject(String url, int projectGroupId, boolean checkProtocol, boolean useCredentialsCache, boolean recursiveProjects, boolean checkoutInSingleDirectory) throws Exception
ContinuumService
url
- The POM urlprojectGroupId
- The id of the group where projects will be storedcheckProtocol
- Determines whether the protocol will be checkeduseCredentialsCache
- Determines whether user credentials will be cachedrecursiveProjects
- Determines whether to load recursive projectscheckoutInSingleDirectory
- Determines whether the project will be stored on a single directory
Exception
public AddingResult addMavenOneProject(String url, int projectGroupId) throws ContinuumException
ContinuumService
url
- The POM urlprojectGroupId
- The id of the group where projects will be stored
ContinuumException
public ProjectSummary addAntProject(ProjectSummary project, int projectGroupId) throws ContinuumException
ContinuumService
project
- The project to add. name, version and scm informations are requiredprojectGroupId
- The id of the group where projects will be stored
ContinuumException
public ProjectSummary addShellProject(ProjectSummary project, int projectGroupId) throws ContinuumException
ContinuumService
project
- The project to add. name, version and scm informations are requiredprojectGroupId
- The id of the group where projects will be stored
ContinuumException
public List<Schedule> getSchedules() throws ContinuumException
ContinuumService
ContinuumException
public Schedule getSchedule(int scheduleId) throws ContinuumException
ContinuumService
scheduleId
- The schedule id
ContinuumException
public Schedule updateSchedule(Schedule schedule) throws ContinuumException
ContinuumService
schedule
- The schedule
ContinuumException
public Schedule addSchedule(Schedule schedule) throws ContinuumException
ContinuumService
schedule
- The schedule
ContinuumException
public List<Profile> getProfiles() throws ContinuumException
ContinuumService
ContinuumException
public Profile getProfile(int profileId) throws ContinuumException
ContinuumService
profileId
- The profile id
ContinuumException
public Profile getProfileWithName(String profileName) throws ContinuumException
ContinuumException
public Profile addProfile(Profile profile) throws ContinuumException
ContinuumException
public int updateProfile(Profile profile) throws ContinuumException
ContinuumException
public int deleteProfile(int profileId) throws ContinuumException
ContinuumException
public List<Installation> getInstallations() throws ContinuumException
ContinuumService
ContinuumException
public List<Installation> getBuildAgentInstallations(String url) throws ContinuumException
ContinuumService
url
- The build agent URL
ContinuumException
public Installation getInstallation(int installationId) throws ContinuumException
ContinuumService
installationId
- The installation id
ContinuumException
public Installation getInstallation(String installationName) throws ContinuumException
ContinuumService
installationName
- The installation name
ContinuumException
public Installation addInstallation(Installation installation) throws ContinuumException
ContinuumException
public int updateInstallation(Installation installation) throws ContinuumException
ContinuumException
public int deleteInstallation(int installationId) throws ContinuumException
ContinuumException
public SystemConfiguration getSystemConfiguration() throws ContinuumException
ContinuumException
public boolean isProjectInPrepareBuildQueue(int projectId) throws ContinuumException
ContinuumService
projectId
- The project id
ContinuumException
public boolean isProjectInPrepareBuildQueue(int projectId, int buildDefinitionId) throws ContinuumException
ContinuumService
projectId
- The project idbuildDefinitionId
- The build definition id
ContinuumException
public boolean isProjectInBuildingQueue(int projectId) throws ContinuumException
ContinuumService
projectId
- The project id
ContinuumException
public boolean isProjectInBuildingQueue(int projectId, int buildDefinitionId) throws ContinuumException
ContinuumService
projectId
- The project idbuildDefinitionId
- The build definition id
ContinuumException
public boolean isProjectCurrentlyPreparingBuild(int projectId) throws ContinuumException
ContinuumService
projectId
- The project id
ContinuumException
public boolean isProjectCurrentlyPreparingBuild(int projectId, int buildDefinitionId) throws ContinuumException
ContinuumService
projectId
- The project idbuildDefinitionId
- The build definition id
ContinuumException
public boolean isProjectCurrentlyBuilding(int projectId) throws ContinuumException
ContinuumService
projectId
- The project id
ContinuumException
public boolean isProjectCurrentlyBuilding(int projectId, int buildDefinitionId) throws ContinuumException
ContinuumService
projectId
- The project idbuildDefinitionId
- The build definition id
ContinuumException
public List<BuildProjectTask> getProjectsInBuildQueue() throws ContinuumException
ContinuumService
ContinuumException
public int removeProjectsFromBuildingQueue(int[] projectsId) throws ContinuumException
ContinuumService
projectsId
- project id to be removed from the building queue
ContinuumException
public boolean cancelCurrentBuild() throws ContinuumException
ContinuumService
ContinuumException
public boolean cancelBuild(int projectId, int buildDefinitionId) throws ContinuumException
ContinuumService
projectId
- the project idbuildDefinitionId
- the build definition id
ContinuumException
public ContinuumReleaseResult getReleaseResult(int releaseId) throws ContinuumException
ContinuumService
releaseId
- The release id
ContinuumException
public List<ContinuumReleaseResult> getReleaseResultsForProjectGroup(int projectGroupId) throws ContinuumException
ContinuumService
projectGroupId
- The project group id
ContinuumException
public int removeReleaseResult(ContinuumReleaseResult releaseResult) throws ContinuumException
ContinuumService
releaseResult
- The project release result
ContinuumException
public String getReleaseOutput(int releaseId) throws ContinuumException
ContinuumService
releaseId
- The release id
ContinuumException
public RepositoryPurgeConfiguration addRepositoryPurgeConfiguration(RepositoryPurgeConfiguration repoPurge) throws ContinuumException
ContinuumService
repoPurge
- the repository purge configuration
ContinuumException
public int updateRepositoryPurgeConfiguration(RepositoryPurgeConfiguration repoPurge) throws ContinuumException
ContinuumService
repoPurge
- the repository purge configuration
ContinuumException
public int removeRepositoryPurgeConfiguration(int repoPurgeId) throws ContinuumException
ContinuumService
repoPurgeId
- the repository purge configuration id
ContinuumException
public RepositoryPurgeConfiguration getRepositoryPurgeConfiguration(int repoPurgeId) throws ContinuumException
ContinuumService
ContinuumException
public List<RepositoryPurgeConfiguration> getAllRepositoryPurgeConfigurations() throws ContinuumException
ContinuumService
ContinuumException
public DirectoryPurgeConfiguration addDirectoryPurgeConfiguration(DirectoryPurgeConfiguration dirPurge) throws ContinuumException
ContinuumService
dirPurge
- the directory purge configuration
ContinuumException
public int updateDirectoryPurgeConfiguration(DirectoryPurgeConfiguration dirPurge) throws ContinuumException
ContinuumService
dirPurge
- the directory purge configuration
ContinuumException
public int removeDirectoryPurgeConfiguration(int dirPurgeId) throws ContinuumException
ContinuumService
dirPurgeId
- the directory purge configuration id
ContinuumException
public DirectoryPurgeConfiguration getDirectoryPurgeConfiguration(int dirPurgeId) throws ContinuumException
ContinuumService
dirPurgeId
- the directory purge configuration id
ContinuumException
public List<DirectoryPurgeConfiguration> getAllDirectoryPurgeConfigurations() throws ContinuumException
ContinuumService
ContinuumException
public int purgeLocalRepository(int repoPurgeId) throws ContinuumException
ContinuumException
public int purgeDirectory(int dirPurgeId) throws ContinuumException
ContinuumException
public LocalRepository addLocalRepository(LocalRepository repository) throws ContinuumException
ContinuumService
repository
- the local repository to add
ContinuumException
public int updateLocalRepository(LocalRepository repository) throws ContinuumException
ContinuumService
repository
- the local repository to update
ContinuumException
public int removeLocalRepository(int repositoryId) throws ContinuumException
ContinuumService
ContinuumException
public LocalRepository getLocalRepository(int repositoryId) throws ContinuumException
ContinuumService
repositoryId
- the local repository id
ContinuumException
public List<LocalRepository> getAllLocalRepositories() throws ContinuumException
ContinuumService
ContinuumException
public BuildAgentConfiguration addBuildAgent(BuildAgentConfiguration buildAgentConfiguration) throws ConfigurationException, ConfigurationStoringException, ContinuumConfigurationException
ContinuumService
ConfigurationException
ConfigurationStoringException
ContinuumConfigurationException
public BuildAgentConfiguration getBuildAgent(String url)
ContinuumService
url
- - build agent URL
public String getBuildAgentUrl(int projectId, int buildDefinitionId) throws ContinuumException
projectId
- project Id
ContinuumException
- distributed build is not enabled or error during retrieval of build agent urlDistributedBuildManager.getBuildAgentUrl(int, int)
public BuildAgentConfiguration updateBuildAgent(BuildAgentConfiguration buildAgentConfiguration) throws ConfigurationStoringException, ContinuumConfigurationException
ContinuumService
ConfigurationStoringException
ContinuumConfigurationException
public boolean removeBuildAgent(String url) throws BuildAgentConfigurationException, ConfigurationStoringException, ContinuumConfigurationException, ContinuumException
ContinuumService
url
- - build agent URL
BuildAgentConfigurationException
ConfigurationStoringException
ContinuumConfigurationException
ContinuumException
public List<BuildAgentConfiguration> getAllBuildAgents()
ContinuumService
public List<BuildAgentConfiguration> getBuildAgentsWithInstallations() throws Exception
ContinuumService
Exception
public BuildAgentGroupConfiguration addBuildAgentGroup(BuildAgentGroupConfiguration buildAgentGroup) throws ConfigurationException, ConfigurationStoringException, ContinuumConfigurationException
ConfigurationException
ConfigurationStoringException
ContinuumConfigurationException
public BuildAgentGroupConfiguration getBuildAgentGroup(String name)
public BuildAgentGroupConfiguration updateBuildAgentGroup(BuildAgentGroupConfiguration buildAgentGroup) throws ConfigurationException, ConfigurationStoringException, ContinuumConfigurationException
ConfigurationException
ConfigurationStoringException
ContinuumConfigurationException
public int removeBuildAgentGroup(String name) throws ConfigurationException
ConfigurationException
protected BuildDefinition populateBuildDefinition(BuildDefinition buildDef, BuildDefinition bd) throws ContinuumException
ContinuumException
protected void buildProjectWithBuildDefinition(int projectId, int buildDefinitionId, BuildTrigger buildTrigger) throws ContinuumException, NoBuildAgentException, NoBuildAgentInGroupException
ContinuumException
NoBuildAgentException
NoBuildAgentInGroupException
public Map<String,Object> addAntProjectRPC(Map<String,Object> project, int projectGroupId) throws Exception
ContinuumService
project
- The project to add. name, version and scm informations are requiredprojectGroupId
- The id of the group where projects will be stored
Exception
public Map<String,Object> addBuildDefinitionToProjectGroupRPC(int projectGroupId, Map<String,Object> buildDef) throws Exception
ContinuumService
projectGroupId
- The project group idbuildDef
- The build definition to update
Exception
public Map<String,Object> addBuildDefinitionToProjectRPC(int projectId, Map<String,Object> buildDef) throws Exception
ContinuumService
projectId
- The project idbuildDef
- The build definition to update
Exception
public Map<String,Object> addMavenOneProjectRPC(String url, int projectGroupId) throws Exception
ContinuumService
url
- The POM urlprojectGroupId
- The id of the group where projects will be stored
Exception
public Map<String,Object> addMavenTwoProjectRPC(String url) throws Exception
ContinuumService
url
- The POM url
Exception
public Map<String,Object> addMavenTwoProjectRPC(String url, int projectGroupId) throws Exception
ContinuumService
url
- The POM urlprojectGroupId
- The id of the group where projects will be stored
Exception
public Map<String,Object> addMavenTwoProjectRPC(String url, int projectGroupId, boolean checkoutInSingleDirectory) throws Exception
ContinuumService
url
- The POM urlprojectGroupId
- The id of the group where projects will be stored
Exception
public Map<String,Object> addMavenTwoProjectAsSingleProjectRPC(String url, int projectGroupId) throws Exception
ContinuumService
Exception
public Map<String,Object> addMavenTwoProjectRPC(String url, int projectGroupId, boolean checkProtocol, boolean useCredentialsCache, boolean recursiveProjects, boolean checkoutInSingleDirectory) throws Exception
ContinuumService
url
- The POM urlprojectGroupId
- The id of the group where projects will be storedcheckProtocol
- Determines whether the protocol will be checkeduseCredentialsCache
- Determines whether user credentials will be cachedrecursiveProjects
- Determines whether to load recursive projectscheckoutInSingleDirectory
- Determines whether the project will be stored on a single directory
Exception
public Map<String,Object> addProjectGroupRPC(String groupName, String groupId, String description) throws Exception
ContinuumService
groupName
- The project group namegroupId
- The project group iddescription
- The project group description
Exception
public Map<String,Object> addScheduleRPC(Map<String,Object> schedule) throws Exception
ContinuumService
schedule
- The schedule
Exception
public Map<String,Object> addShellProjectRPC(Map<String,Object> project, int projectGroupId) throws Exception
ContinuumService
project
- The project to add. name, version and scm informations are requiredprojectGroupId
- The id of the group where projects will be stored
Exception
public List<Object> getAllProjectGroupsRPC() throws Exception
ContinuumService
ProjectGroupSummary
as RPC value
Exception
public List<Object> getAllProjectGroupsWithAllDetailsRPC() throws Exception
ContinuumService
ProjectGroup
as RPC value
Exception
public List<Object> getBuildDefinitionTemplatesRPC() throws Exception
ContinuumService
Exception
public List<Object> getBuildDefinitionsForProjectGroupRPC(int projectGroupId) throws Exception
ContinuumService
projectGroupId
- The project group id
Exception
public List<Object> getBuildDefinitionsForProjectRPC(int projectId) throws Exception
ContinuumService
projectId
- The project id
Exception
public Map<String,Object> getBuildDefinitionRPC(int buildDefinitionId) throws Exception
ContinuumService
buildDefinitionId
- The build definition id
Exception
public Map<String,Object> getBuildResultRPC(int projectId, int buildId) throws Exception
ContinuumService
projectId
- The project idbuildId
- The build id
Exception
public List<Object> getBuildResultsForProjectRPC(int projectId) throws Exception
ContinuumService
projectId
- The project id
Exception
public Map<String,Object> getInstallationRPC(int installationId) throws Exception
ContinuumService
installationId
- The installation id
Exception
public Map<String,Object> getInstallationRPC(String installationName) throws Exception
ContinuumService
installationName
- The installation name
Exception
public List<Object> getInstallationsRPC() throws Exception
ContinuumService
Exception
public List<Object> getBuildAgentInstallationsRPC(String url) throws Exception
ContinuumService
url
- The build agent URL
Exception
public Map<String,Object> getLatestBuildResultRPC(int projectId) throws Exception
ContinuumService
projectId
- The project id
Exception
public Map<String,Object> getProfileRPC(int profileId) throws Exception
ContinuumService
profileId
- The profile id
Exception
public Map<String,Object> getProfileWithNameRPC(String profileName) throws Exception
Exception
public List<Object> getProfilesRPC() throws Exception
ContinuumService
Exception
public Map<String,Object> getProjectGroupSummaryRPC(int projectGroupId) throws Exception
ContinuumService
projectGroupId
- The project group id
Exception
public Map<String,Object> getProjectGroupWithProjectsRPC(int projectGroupId) throws Exception
ContinuumService
projectGroupId
- The project group id
Exception
public Map<String,Object> updateProjectGroupRPC(Map<String,Object> projectGroup) throws Exception
ContinuumService
projectGroup
- The project group to update
Exception
public Map<String,Object> getProjectSummaryRPC(int projectId) throws Exception
ContinuumService
projectId
- the project id
Exception
public Map<String,Object> getProjectWithAllDetailsRPC(int projectId) throws Exception
ContinuumService
projectId
- the project id
Exception
public List<Object> getProjectsRPC(int projectGroupId) throws Exception
ContinuumService
projectGroupId
- The project group Id
ProjectSummary
as RPC value
Exception
public Map<String,Object> getScheduleRPC(int scheduleId) throws Exception
ContinuumService
scheduleId
- The schedule id
Exception
public List<Object> getSchedulesRPC() throws Exception
ContinuumService
Exception
public Map<String,Object> getSystemConfigurationRPC() throws Exception
Exception
public int removeBuildResultRPC(Map<String,Object> br) throws Exception
ContinuumService
br
- The project build result
Exception
public Map<String,Object> updateBuildDefinitionForProjectGroupRPC(int projectGroupId, Map<String,Object> buildDef) throws Exception
ContinuumService
projectGroupId
- The project group idbuildDef
- The build definition to update
Exception
public Map<String,Object> updateBuildDefinitionForProjectRPC(int projectId, Map<String,Object> buildDef) throws Exception
ContinuumService
projectId
- The project idbuildDef
- The build definition to update
Exception
public Map<String,Object> updateProjectRPC(Map<String,Object> project) throws Exception
ContinuumService
project
- The project to update
Exception
public Map<String,Object> updateScheduleRPC(Map<String,Object> schedule) throws Exception
ContinuumService
schedule
- The schedule
Exception
public Map<String,Object> getProjectGroupRPC(int projectGroupId) throws Exception
ContinuumService
projectGroupId
- the id
Exception
public Map<String,Object> getGroupNotifierRPC(int projectgroupid, int notifierId) throws Exception
Exception
public Map<String,Object> getNotifierRPC(int projectid, int notifierId) throws Exception
Exception
public Map<String,Object> updateGroupNotifierRPC(int projectgroupid, Map<String,Object> newNotifier) throws Exception
Exception
public Map<String,Object> updateNotifierRPC(int projectid, Map<String,Object> newNotifier) throws Exception
Exception
public Map<String,Object> addGroupNotifierRPC(int projectgroupid, Map<String,Object> newNotifier) throws Exception
Exception
public Map<String,Object> addNotifierRPC(int projectid, Map<String,Object> newNotifier) throws Exception
Exception
public Map<String,Object> addInstallationRPC(Map<String,Object> installation) throws Exception
Exception
public Map<String,Object> addProfileRPC(Map<String,Object> profile) throws Exception
Exception
public int updateInstallationRPC(Map<String,Object> installation) throws Exception
Exception
public int updateProfileRPC(Map<String,Object> profile) throws Exception
Exception
public Map<String,Object> getReleaseResultRPC(int releaseId) throws Exception
ContinuumService
releaseId
- The release id
Exception
public List<Object> getReleaseResultsForProjectGroupRPC(int projectGroupId) throws Exception
ContinuumService
projectGroupId
- The project group id
Exception
public int removeReleaseResultRPC(Map<String,Object> rr) throws Exception
ContinuumService
rr
- The project release result
Exception
public Map<String,Object> addRepositoryPurgeConfigurationRPC(Map<String,Object> repoPurge) throws Exception
ContinuumService
repoPurge
- the repository purge configuration
Exception
public int updateRepositoryPurgeConfigurationRPC(Map<String,Object> repoPurge) throws Exception
ContinuumService
repoPurge
- the repository purge configuration
Exception
public Map<String,Object> getRepositoryPurgeConfigurationRPC(int repoPurgeId) throws Exception
ContinuumService
repoPurgeId
- the repository purge configuration id
Exception
public List<Object> getAllRepositoryPurgeConfigurationsRPC() throws Exception
ContinuumService
Exception
public Map<String,Object> addDirectoryPurgeConfigurationRPC(Map<String,Object> dirPurge) throws Exception
ContinuumService
dirPurge
- the directory purge configuration
Exception
public int updateDirectoryPurgeConfigurationRPC(Map<String,Object> dirPurge) throws Exception
ContinuumService
dirPurge
- the directory purge configuration
Exception
public Map<String,Object> getDirectoryPurgeConfigurationRPC(int dirPurgeId) throws Exception
ContinuumService
dirPurgeId
- the directory purge configuration id
Exception
public List<Object> getAllDirectoryPurgeConfigurationsRPC() throws Exception
ContinuumService
Exception
public Map<String,Object> addLocalRepositoryRPC(Map<String,Object> repository) throws Exception
ContinuumService
repository
- the local repository to add
Exception
public int updateLocalRepositoryRPC(Map<String,Object> repository) throws Exception
ContinuumService
repository
- the local repository to update
Exception
public Map<String,Object> getLocalRepositoryRPC(int repositoryId) throws Exception
ContinuumService
Exception
public List<Object> getAllLocalRepositoriesRPC() throws Exception
ContinuumService
Exception
public Map<String,Object> addBuildAgentRPC(Map<String,Object> buildAgentConfiguration) throws Exception
ContinuumService
Exception
public Map<String,Object> getBuildAgentRPC(String url)
ContinuumService
url
- - build agent URL
public Map<String,Object> updateBuildAgentRPC(Map<String,Object> buildAgentConfiguration) throws ConfigurationStoringException, ContinuumConfigurationException
ContinuumService
ConfigurationStoringException
ContinuumConfigurationException
public List<Object> getAllBuildAgentsRPC()
ContinuumService
public List<Object> getBuildAgentsWithInstallationsRPC() throws Exception
ContinuumService
Exception
public Map<String,Object> addBuildAgentGroupRPC(Map<String,Object> buildAgentGroup) throws ConfigurationException, ConfigurationStoringException, ContinuumConfigurationException
ConfigurationException
ConfigurationStoringException
ContinuumConfigurationException
public Map<String,Object> getBuildAgentGroupRPC(String name)
public Map<String,Object> updateBuildAgentGroupRPC(Map<String,Object> buildAgentGroup) throws ConfigurationException, ConfigurationStoringException, ContinuumConfigurationException
ConfigurationException
ConfigurationStoringException
ContinuumConfigurationException
public String releasePrepare(int projectId, Properties releaseProperties, Map<String,String> releaseVersions, Map<String,String> developmentVersions, Map<String,String> environments, String username) throws Exception
ContinuumService
Exception
public int releasePerform(int projectId, String releaseId, String goals, String arguments, boolean useReleaseProfile, String repositoryName, String username) throws Exception
ContinuumService
Exception
public ReleaseListenerSummary getListener(int projectId, String releaseId) throws Exception
ContinuumService
Exception
public int releaseCleanup(int projectId, String releaseId) throws Exception
ContinuumService
Exception
public int releaseCleanup(int projectId, String releaseId, String releaseType) throws Exception
ContinuumService
Exception
public int releaseRollback(int projectId, String releaseId) throws Exception
ContinuumService
Exception
public Map<String,Object> getReleasePluginParameters(int projectId) throws Exception
ContinuumService
Exception
public List<Map<String,String>> getProjectReleaseAndDevelopmentVersions(int projectId, String pomFilename, boolean autoVersionSubmodules) throws Exception
Exception
public boolean pingBuildAgent(String buildAgentUrl) throws Exception
Exception
public void setContinuum(Continuum continuum)
public void setDistributedBuildManager(DistributedBuildManager distributedBuildManager)
public void setRoleManager(org.codehaus.plexus.redback.role.RoleManager roleManager)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |