|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.maven.continuum.xmlrpc.client.ContinuumXmlRpcClient
public class ContinuumXmlRpcClient
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 |
BuildDefinition |
addBuildDefinitionToProject(int projectId,
BuildDefinition buildDef)
Add a project build definition. |
BuildDefinition |
addBuildDefinitionToProjectGroup(int projectGroupId,
BuildDefinition buildDef)
Add a project group buildDefinition. |
Map<String,Object> |
addBuildDefinitionToProjectGroupRPC(int projectGroupId,
Map<String,Object> buildDef)
Same method but compatible with standard XMLRPC |
Map<String,Object> |
addBuildDefinitionToProjectRPC(int projectId,
Map<String,Object> buildDef)
Same method but compatible with standard XMLRPC |
DirectoryPurgeConfiguration |
addDirectoryPurgeConfiguration(DirectoryPurgeConfiguration dirPurge)
Add a directory purge configuration |
Map<String,Object> |
addDirectoryPurgeConfigurationRPC(Map<String,Object> dirPurge)
Same method but compatible with the standard XMLRPC |
ProjectNotifier |
addGroupNotifier(int projectgroupid,
ProjectNotifier newNotifier)
|
Map<String,Object> |
addGroupNotifierRPC(int projectgroupid,
Map<String,Object> newNotifier)
|
Installation |
addInstallation(Installation installation)
|
Map<String,Object> |
addInstallationRPC(Map<String,Object> installation)
|
LocalRepository |
addLocalRepository(LocalRepository repository)
Add a local repository |
Map<String,Object> |
addLocalRepositoryRPC(Map<String,Object> repository)
Same method but compatible with the standard XMLRPC |
AddingResult |
addMavenOneProject(String url,
int projectGroupId)
Add a maven 1.x project from an url. |
Map<String,Object> |
addMavenOneProjectRPC(String url,
int projectGroupId)
Same method but compatible with standard XMLRPC |
AddingResult |
addMavenTwoProject(String url)
Add a maven 2.x project from an url. |
AddingResult |
addMavenTwoProject(String url,
int projectGroupId)
Add a maven 2.x project from an url. |
Map<String,Object> |
addMavenTwoProjectRPC(String url)
Same method but compatible with standard XMLRPC |
Map<String,Object> |
addMavenTwoProjectRPC(String url,
int projectGroupId)
Same method but compatible with standard XMLRPC |
ProjectNotifier |
addNotifier(int projectid,
ProjectNotifier newNotifier)
|
Map<String,Object> |
addNotifierRPC(int projectid,
Map<String,Object> newNotifier)
|
Profile |
addProfile(Profile profile)
|
Map<String,Object> |
addProfileRPC(Map<String,Object> profile)
|
ProjectGroupSummary |
addProjectGroup(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,
int buildDefinitionId)
Build the project |
boolean |
cancelCurrentBuild()
Cancel the current project build |
int |
deleteInstallation(int installationId)
|
int |
deleteProfile(int profileId)
|
List<DirectoryPurgeConfiguration> |
getAllDirectoryPurgeConfigurations()
Returns directory purge configurations list |
List<Object> |
getAllDirectoryPurgeConfigurationsRPC()
Same method but compatible with standard XMLRPC |
List<LocalRepository> |
getAllLocalRepositories()
Returns all local repositories |
List<Object> |
getAllLocalRepositoriesRPC()
Same method but compatible with the standard XMLRPC |
List<ProjectGroupSummary> |
getAllProjectGroups()
Get all project groups. |
List<Object> |
getAllProjectGroupsRPC()
Same method but compatible with standard XMLRPC |
List<ProjectGroup> |
getAllProjectGroupsWithAllDetails()
Get all project groups with all details (project summaries, notifiers, build definitions). |
List<Object> |
getAllProjectGroupsWithAllDetailsRPC()
Same method but compatible with standard XMLRPC |
List<ProjectGroup> |
getAllProjectGroupsWithProjects()
Deprecated. |
List<RepositoryPurgeConfiguration> |
getAllRepositoryPurgeConfigurations()
Returns repository purge configurations list |
List<Object> |
getAllRepositoryPurgeConfigurationsRPC()
Same method but compatible with standard XMLRPC |
List<BuildDefinition> |
getBuildDefinitionsForProject(int projectId)
Get the build definitions list of the project. |
List<BuildDefinition> |
getBuildDefinitionsForProjectGroup(int projectGroupId)
Get the build definitions list of the project group. |
List<Object> |
getBuildDefinitionsForProjectGroupRPC(int projectGroupId)
Same method but compatible with standard XMLRPC |
List<Object> |
getBuildDefinitionsForProjectRPC(int projectId)
Same method but compatible with standard XMLRPC |
List<BuildDefinitionTemplate> |
getBuildDefinitionTemplates()
Get the build definition templates list. |
List<Object> |
getBuildDefinitionTemplatesRPC()
Same method but compatible with standard XMLRPC |
String |
getBuildOutput(int projectId,
int buildId)
Returns the build output. |
BuildResult |
getBuildResult(int projectId,
int buildId)
Returns the build result. |
Map<String,Object> |
getBuildResultRPC(int projectId,
int buildId)
Same method but compatible with standard XMLRPC |
List<BuildResultSummary> |
getBuildResultsForProject(int projectId)
Returns the project build result summary list. |
List<Object> |
getBuildResultsForProjectRPC(int projectId)
Same method but compatible with standard XMLRPC |
DirectoryPurgeConfiguration |
getDirectoryPurgeConfiguration(int dirPurgeId)
Returns the directory purge configuration |
Map<String,Object> |
getDirectoryPurgeConfigurationRPC(int dirPurgeId)
Same method but compatible with standard XMLRPC |
ProjectNotifier |
getGroupNotifier(int projectgroupid,
int notifierId)
|
Map<String,Object> |
getGroupNotifierRPC(int projectgroupid,
int notifierId)
|
Installation |
getInstallation(int installationId)
Return the installation defined by this id. |
Map<String,Object> |
getInstallationRPC(int installationId)
Same method but compatible with standard XMLRPC |
List<Installation> |
getInstallations()
Return the installations list. |
List<Object> |
getInstallationsRPC()
Same method but compatible with standard XMLRPC |
BuildResult |
getLatestBuildResult(int projectId)
Returns the latest build result for the project. |
Map<String,Object> |
getLatestBuildResultRPC(int projectId)
Same method but compatible with standard XMLRPC |
LocalRepository |
getLocalRepository(int repositoryId)
Returns the local repository |
Map<String,Object> |
getLocalRepositoryRPC(int repositoryId)
Same method but compatible with the standard XMLRPC |
ProjectNotifier |
getNotifier(int projectid,
int notifierId)
|
Map<String,Object> |
getNotifierRPC(int projectid,
int notifierId)
|
Profile |
getProfile(int profileId)
Return the profile defined by this id. |
Map<String,Object> |
getProfileRPC(int profileId)
Same method but compatible with standard XMLRPC |
List<Profile> |
getProfiles()
Return the profiles list. |
List<Object> |
getProfilesRPC()
Same method but compatible with standard XMLRPC |
ProjectGroup |
getProjectGroup(int projectGroupId)
Get a project groups. |
Map<String,Object> |
getProjectGroupRPC(int projectGroupId)
Same method but compatible with standard XMLRPC |
ProjectGroupSummary |
getProjectGroupSummary(int projectGroupId)
Get a project group. |
Map<String,Object> |
getProjectGroupSummaryRPC(int projectGroupId)
Same method but compatible with standard XMLRPC |
ProjectGroup |
getProjectGroupWithProjects(int projectGroupId)
Get a project group with all details. |
Map<String,Object> |
getProjectGroupWithProjectsRPC(int projectGroupId)
Same method but compatible with standard XMLRPC |
List<ProjectSummary> |
getProjects(int projectGroupId)
Get All projects. |
List<BuildProjectTask> |
getProjectsInBuildQueue()
Return projects building queue. |
List<Object> |
getProjectsRPC(int projectGroupId)
Same method but compatible with standard XMLRPC |
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. |
ContinuumReleaseResult |
getReleaseResult(int releaseId)
Returns the release result. |
Map<String,Object> |
getReleaseResultRPC(int releaseId)
Same method but compatible with standard XMLRPC |
List<ContinuumReleaseResult> |
getReleaseResultsForProjectGroup(int projectGroupId)
Returns the project group release result list. |
List<Object> |
getReleaseResultsForProjectGroupRPC(int projectGroupId)
Same method but compatible with standard XMLRPC |
RepositoryPurgeConfiguration |
getRepositoryPurgeConfiguration(int repoPurgeId)
Returns the repository purge configuration |
Map<String,Object> |
getRepositoryPurgeConfigurationRPC(int repoPurgeId)
Same method but compatible with standard XMLRPC |
Schedule |
getSchedule(int scheduleId)
Return the schedule defined by this id. |
Map<String,Object> |
getScheduleRPC(int scheduleId)
Same method but compatible with standard XMLRPC |
List<Schedule> |
getSchedules()
Return the schedules list. |
List<Object> |
getSchedulesRPC()
Same method but compatible with standard XMLRPC |
SystemConfiguration |
getSystemConfiguration()
|
Map<String,Object> |
getSystemConfigurationRPC()
|
boolean |
isProjectInBuildingQueue(int projectId)
Return true is the project is in building queue. |
boolean |
ping()
|
void |
purgeDirectory(int dirPurgeId)
|
void |
purgeLocalRepository(int repoPurgeId)
|
ProjectGroupSummary |
refreshProjectGroupSummary(ProjectGroupSummary projectGroup)
|
ProjectGroup |
refreshProjectGroupSummaryWithProjects(ProjectGroupSummary projectGroup)
|
ProjectSummary |
refreshProjectSummary(ProjectSummary project)
|
Project |
refreshProjectWithAllDetails(ProjectSummary project)
|
int |
removeBuildDefinitionFromProjectGroup(int projectGroupId,
int buildDefinitionId)
|
int |
removeBuildResult(BuildResult br)
Remove the project build result. |
int |
removeBuildResultRPC(Map<String,Object> br)
Same method but compatible with standard XMLRPC |
int |
removeDirectoryPurgeConfiguration(int dirPurgeId)
Removes the directory purge configuration |
int |
removeGroupNotifier(int projectgroupid,
int notifierId)
|
int |
removeLocalRepository(int repositoryId)
Remove the local repository |
int |
removeNotifier(int projectid,
int notifierId)
|
int |
removeProject(int projectId)
Remove a project. |
int |
removeProjectGroup(int projectGroupId)
Remove a project group. |
int |
removeProjectsFromBuildingQueue(int[] projectsId)
Remove projects from build queue |
int |
removeReleaseResult(ContinuumReleaseResult releaseResult)
Remove the project release result. |
int |
removeReleaseResultRPC(Map<String,Object> rr)
Same method but compatible with standard XMLRPC |
int |
removeRepositoryPurgeConfiguration(int repoPurgeId)
Remove repository purge configuration |
BuildDefinition |
updateBuildDefinitionForProject(int projectId,
BuildDefinition buildDef)
Update a project build definition. |
BuildDefinition |
updateBuildDefinitionForProjectGroup(int projectGroupId,
BuildDefinition buildDef)
Update a project group build definition. |
Map<String,Object> |
updateBuildDefinitionForProjectGroupRPC(int projectGroupId,
Map<String,Object> buildDef)
Same method but compatible with standard XMLRPC |
Map<String,Object> |
updateBuildDefinitionForProjectRPC(int projectId,
Map<String,Object> buildDef)
Same method but compatible with standard XMLRPC |
int |
updateDirectoryPurgeConfiguration(DirectoryPurgeConfiguration dirPurge)
Update the directory purge configuration |
int |
updateDirectoryPurgeConfigurationRPC(Map<String,Object> dirPurge)
Same method but compatible with the standard XMLRPC |
ProjectNotifier |
updateGroupNotifier(int projectgroupid,
ProjectNotifier newNotifier)
|
Map<String,Object> |
updateGroupNotifierRPC(int projectgroupid,
Map<String,Object> newNotifier)
|
int |
updateInstallation(Installation installation)
|
int |
updateInstallationRPC(Map<String,Object> installation)
|
int |
updateLocalRepository(LocalRepository repository)
Update the local repository |
int |
updateLocalRepositoryRPC(Map<String,Object> repository)
Same method but compatible with the standard XMLRPC |
ProjectNotifier |
updateNotifier(int projectid,
ProjectNotifier newNotifier)
|
Map<String,Object> |
updateNotifierRPC(int projectid,
Map<String,Object> newNotifier)
|
int |
updateProfile(Profile profile)
|
int |
updateProfileRPC(Map<String,Object> profile)
|
ProjectSummary |
updateProject(ProjectSummary project)
Update a project. |
ProjectGroupSummary |
updateProjectGroup(ProjectGroupSummary projectGroup)
Update a project Group. |
Map<String,Object> |
updateProjectGroupRPC(Map<String,Object> projectGroup)
Same method but compatible with standard XMLRPC |
Map<String,Object> |
updateProjectRPC(Map<String,Object> project)
Same method but compatible with standard XMLRPC |
int |
updateRepositoryPurgeConfiguration(RepositoryPurgeConfiguration repoPurge)
Update the repository purge configuration |
int |
updateRepositoryPurgeConfigurationRPC(Map<String,Object> repoPurge)
Same method but compatible with the standard XMLRPC |
Schedule |
updateSchedule(Schedule schedule)
Update the schedule. |
Map<String,Object> |
updateScheduleRPC(Map<String,Object> schedule)
Same method but compatible with standard XMLRPC |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ContinuumXmlRpcClient(URL serviceUrl)
public ContinuumXmlRpcClient(URL serviceUrl, String login, String password)
Method Detail |
---|
public boolean ping() throws Exception
ping
in interface ContinuumService
Exception
public List<ProjectSummary> getProjects(int projectGroupId) throws Exception
ContinuumService
getProjects
in interface ContinuumService
projectGroupId
- The project group Id
ProjectSummary
Exception
org.apache.xmlrpc.XmlRpcException
public ProjectSummary getProjectSummary(int projectId) throws Exception
ContinuumService
getProjectSummary
in interface ContinuumService
projectId
- the project id
Exception
public Project getProjectWithAllDetails(int projectId) throws Exception
ContinuumService
getProjectWithAllDetails
in interface ContinuumService
projectId
- The project id
Exception
public int removeProject(int projectId) throws Exception
ContinuumService
removeProject
in interface ContinuumService
projectId
- The project id
Exception
public ProjectSummary updateProject(ProjectSummary project) throws Exception
ContinuumService
updateProject
in interface ContinuumService
project
- The project to update
Exception
public ProjectSummary refreshProjectSummary(ProjectSummary project) throws Exception
Exception
public Project refreshProjectWithAllDetails(ProjectSummary project) throws Exception
Exception
public List<ProjectGroupSummary> getAllProjectGroups() throws Exception
ContinuumService
getAllProjectGroups
in interface ContinuumService
Exception
public List<ProjectGroup> getAllProjectGroupsWithAllDetails() throws Exception
ContinuumService
getAllProjectGroupsWithAllDetails
in interface ContinuumService
Exception
public List<ProjectGroup> getAllProjectGroupsWithProjects() throws Exception
ContinuumService
getAllProjectGroupsWithProjects
in interface ContinuumService
Exception
public ProjectGroupSummary getProjectGroupSummary(int projectGroupId) throws Exception
ContinuumService
getProjectGroupSummary
in interface ContinuumService
projectGroupId
- The project group id
Exception
public ProjectGroup getProjectGroupWithProjects(int projectGroupId) throws Exception
ContinuumService
getProjectGroupWithProjects
in interface ContinuumService
projectGroupId
- The project group id
Exception
public int removeProjectGroup(int projectGroupId) throws Exception
ContinuumService
removeProjectGroup
in interface ContinuumService
projectGroupId
- The project group id
Exception
public ProjectGroupSummary refreshProjectGroupSummary(ProjectGroupSummary projectGroup) throws Exception
Exception
public ProjectGroup refreshProjectGroupSummaryWithProjects(ProjectGroupSummary projectGroup) throws Exception
Exception
public ProjectGroupSummary updateProjectGroup(ProjectGroupSummary projectGroup) throws Exception
ContinuumService
updateProjectGroup
in interface ContinuumService
projectGroup
- The project group to update
Exception
public ProjectGroupSummary addProjectGroup(ProjectGroupSummary pg) throws Exception
Exception
public ProjectGroupSummary addProjectGroup(String groupName, String groupId, String description) throws Exception
ContinuumService
addProjectGroup
in interface ContinuumService
groupName
- The project group namegroupId
- The project group iddescription
- The project group description
Exception
public List<BuildDefinition> getBuildDefinitionsForProject(int projectId) throws Exception
ContinuumService
getBuildDefinitionsForProject
in interface ContinuumService
projectId
- The project id
Exception
public List<BuildDefinition> getBuildDefinitionsForProjectGroup(int projectGroupId) throws Exception
ContinuumService
getBuildDefinitionsForProjectGroup
in interface ContinuumService
projectGroupId
- The project group id
Exception
public BuildDefinition updateBuildDefinitionForProject(int projectId, BuildDefinition buildDef) throws Exception
ContinuumService
updateBuildDefinitionForProject
in interface ContinuumService
projectId
- The project idbuildDef
- The build defintion to update
Exception
public BuildDefinition updateBuildDefinitionForProjectGroup(int projectGroupId, BuildDefinition buildDef) throws Exception
ContinuumService
updateBuildDefinitionForProjectGroup
in interface ContinuumService
projectGroupId
- The project group idbuildDef
- The build defintion to update
Exception
public int removeBuildDefinitionFromProjectGroup(int projectGroupId, int buildDefinitionId) throws Exception
removeBuildDefinitionFromProjectGroup
in interface ContinuumService
Exception
public BuildDefinition addBuildDefinitionToProject(int projectId, BuildDefinition buildDef) throws Exception
ContinuumService
addBuildDefinitionToProject
in interface ContinuumService
projectId
- The project idbuildDef
- The build defintion to update
Exception
public BuildDefinition addBuildDefinitionToProjectGroup(int projectGroupId, BuildDefinition buildDef) throws Exception
ContinuumService
addBuildDefinitionToProjectGroup
in interface ContinuumService
projectGroupId
- The project group idbuildDef
- The build defintion to update
Exception
public List<BuildDefinitionTemplate> getBuildDefinitionTemplates() throws Exception
ContinuumService
getBuildDefinitionTemplates
in interface ContinuumService
Exception
public int addProjectToBuildQueue(int projectId) throws Exception
ContinuumService
addProjectToBuildQueue
in interface ContinuumService
projectId
- The project id
Exception
public int addProjectToBuildQueue(int projectId, int buildDefinitionId) throws Exception
ContinuumService
addProjectToBuildQueue
in interface ContinuumService
projectId
- The project idbuildDefinitionId
- The build definition id
Exception
public int buildProject(int projectId) throws Exception
ContinuumService
buildProject
in interface ContinuumService
projectId
- The project id
Exception
public int buildProject(int projectId, int buildDefinitionId) throws Exception
ContinuumService
buildProject
in interface ContinuumService
projectId
- The project idbuildDefinitionId
- The build definition id
Exception
public int buildGroup(int projectGroupId) throws Exception
ContinuumService
buildGroup
in interface ContinuumService
projectGroupId
- The project group id
Exception
public int buildGroup(int projectGroupId, int buildDefinitionId) throws Exception
ContinuumService
buildGroup
in interface ContinuumService
projectGroupId
- The project group idbuildDefinitionId
- The build definition id
Exception
public BuildResult getLatestBuildResult(int projectId) throws Exception
ContinuumService
getLatestBuildResult
in interface ContinuumService
projectId
- The project id
Exception
public BuildResult getBuildResult(int projectId, int buildId) throws Exception
ContinuumService
getBuildResult
in interface ContinuumService
projectId
- The project idbuildId
- The build id
Exception
public List<BuildResultSummary> getBuildResultsForProject(int projectId) throws Exception
ContinuumService
getBuildResultsForProject
in interface ContinuumService
projectId
- The project id
Exception
public int removeBuildResult(BuildResult br) throws Exception
ContinuumService
removeBuildResult
in interface ContinuumService
br
- The project build result
Exception
public String getBuildOutput(int projectId, int buildId) throws Exception
ContinuumService
getBuildOutput
in interface ContinuumService
projectId
- The project idbuildId
- The build id
Exception
public AddingResult addMavenTwoProject(String url) throws Exception
ContinuumService
addMavenTwoProject
in interface ContinuumService
url
- The POM url
Exception
public AddingResult addMavenTwoProject(String url, int projectGroupId) throws Exception
ContinuumService
addMavenTwoProject
in interface ContinuumService
url
- The POM urlprojectGroupId
- The id of the group where projects will be stored
Exception
public AddingResult addMavenOneProject(String url, int projectGroupId) throws Exception
ContinuumService
addMavenOneProject
in interface ContinuumService
url
- The POM urlprojectGroupId
- The id of the group where projects will be stored
Exception
public ProjectSummary addAntProject(ProjectSummary project, int projectGroupId) throws Exception
ContinuumService
addAntProject
in interface 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 ProjectSummary addShellProject(ProjectSummary project, int projectGroupId) throws Exception
ContinuumService
addShellProject
in interface 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<Schedule> getSchedules() throws Exception
ContinuumService
getSchedules
in interface ContinuumService
Exception
public Schedule getSchedule(int scheduleId) throws Exception
ContinuumService
getSchedule
in interface ContinuumService
scheduleId
- The schedule id
Exception
public Schedule addSchedule(Schedule schedule) throws Exception
ContinuumService
addSchedule
in interface ContinuumService
schedule
- The schedule
Exception
public Schedule updateSchedule(Schedule schedule) throws Exception
ContinuumService
updateSchedule
in interface ContinuumService
schedule
- The schedule
Exception
public List<Profile> getProfiles() throws Exception
ContinuumService
getProfiles
in interface ContinuumService
Exception
public Profile getProfile(int profileId) throws Exception
ContinuumService
getProfile
in interface ContinuumService
profileId
- The profile id
Exception
public List<Installation> getInstallations() throws Exception
ContinuumService
getInstallations
in interface ContinuumService
Exception
public Installation getInstallation(int installationId) throws Exception
ContinuumService
getInstallation
in interface ContinuumService
installationId
- The installation id
Exception
public SystemConfiguration getSystemConfiguration() throws Exception
getSystemConfiguration
in interface ContinuumService
Exception
public String getProjectStatusAsString(int status)
public List<BuildProjectTask> getProjectsInBuildQueue() throws Exception
ContinuumService
getProjectsInBuildQueue
in interface ContinuumService
Exception
public boolean isProjectInBuildingQueue(int projectId) throws Exception
ContinuumService
isProjectInBuildingQueue
in interface ContinuumService
Exception
public int removeProjectsFromBuildingQueue(int[] projectsId) throws Exception
ContinuumService
removeProjectsFromBuildingQueue
in interface ContinuumService
projectsId
- project id to be removed from the building queue
Exception
public boolean cancelCurrentBuild() throws Exception
ContinuumService
cancelCurrentBuild
in interface ContinuumService
Exception
public ContinuumReleaseResult getReleaseResult(int releaseId) throws Exception
ContinuumService
getReleaseResult
in interface ContinuumService
releaseId
- The release id
Exception
public List<ContinuumReleaseResult> getReleaseResultsForProjectGroup(int projectGroupId) throws Exception
ContinuumService
getReleaseResultsForProjectGroup
in interface ContinuumService
projectGroupId
- The project group id
Exception
public int removeReleaseResult(ContinuumReleaseResult releaseResult) throws Exception
ContinuumService
removeReleaseResult
in interface ContinuumService
releaseResult
- The project release result
Exception
public String getReleaseOutput(int releaseId) throws Exception
ContinuumService
getReleaseOutput
in interface ContinuumService
releaseId
- The release id
Exception
public RepositoryPurgeConfiguration addRepositoryPurgeConfiguration(RepositoryPurgeConfiguration repoPurge) throws Exception
ContinuumService
addRepositoryPurgeConfiguration
in interface ContinuumService
repoPurge
- the repository purge configuration
Exception
public int updateRepositoryPurgeConfiguration(RepositoryPurgeConfiguration repoPurge) throws Exception
ContinuumService
updateRepositoryPurgeConfiguration
in interface ContinuumService
repoPurge
- the repository purge configuration
Exception
public int removeRepositoryPurgeConfiguration(int repoPurgeId) throws Exception
ContinuumService
removeRepositoryPurgeConfiguration
in interface ContinuumService
repoPurgeId
- the repository purge configuration id
Exception
public RepositoryPurgeConfiguration getRepositoryPurgeConfiguration(int repoPurgeId) throws Exception
ContinuumService
getRepositoryPurgeConfiguration
in interface ContinuumService
Exception
public List<RepositoryPurgeConfiguration> getAllRepositoryPurgeConfigurations() throws Exception
ContinuumService
getAllRepositoryPurgeConfigurations
in interface ContinuumService
Exception
public DirectoryPurgeConfiguration addDirectoryPurgeConfiguration(DirectoryPurgeConfiguration dirPurge) throws Exception
ContinuumService
addDirectoryPurgeConfiguration
in interface ContinuumService
dirPurge
- the directory purge configuration
Exception
public int updateDirectoryPurgeConfiguration(DirectoryPurgeConfiguration dirPurge) throws Exception
ContinuumService
updateDirectoryPurgeConfiguration
in interface ContinuumService
dirPurge
- the directory purge configuration
Exception
public int removeDirectoryPurgeConfiguration(int dirPurgeId) throws Exception
ContinuumService
removeDirectoryPurgeConfiguration
in interface ContinuumService
dirPurgeId
- the directory purge configuration id
Exception
public DirectoryPurgeConfiguration getDirectoryPurgeConfiguration(int dirPurgeId) throws Exception
ContinuumService
getDirectoryPurgeConfiguration
in interface ContinuumService
dirPurgeId
- the directory purge configuration id
Exception
public List<DirectoryPurgeConfiguration> getAllDirectoryPurgeConfigurations() throws Exception
ContinuumService
getAllDirectoryPurgeConfigurations
in interface ContinuumService
Exception
public void purgeLocalRepository(int repoPurgeId) throws Exception
purgeLocalRepository
in interface ContinuumService
Exception
public void purgeDirectory(int dirPurgeId) throws Exception
purgeDirectory
in interface ContinuumService
Exception
public LocalRepository addLocalRepository(LocalRepository repository) throws Exception
ContinuumService
addLocalRepository
in interface ContinuumService
repository
- the local repository to add
Exception
public int updateLocalRepository(LocalRepository repository) throws Exception
ContinuumService
updateLocalRepository
in interface ContinuumService
repository
- the local repository to update
Exception
public int removeLocalRepository(int repositoryId) throws Exception
ContinuumService
removeLocalRepository
in interface ContinuumService
Exception
public LocalRepository getLocalRepository(int repositoryId) throws Exception
ContinuumService
getLocalRepository
in interface ContinuumService
repositoryId
- the local repository id
Exception
public List<LocalRepository> getAllLocalRepositories() throws Exception
ContinuumService
getAllLocalRepositories
in interface ContinuumService
Exception
public Map<String,Object> addAntProjectRPC(Map<String,Object> project, int projectGroupId) throws Exception
ContinuumService
addAntProjectRPC
in interface 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
addBuildDefinitionToProjectGroupRPC
in interface ContinuumService
projectGroupId
- The project group idbuildDef
- The build defintion to update
Exception
public Map<String,Object> addBuildDefinitionToProjectRPC(int projectId, Map<String,Object> buildDef) throws Exception
ContinuumService
addBuildDefinitionToProjectRPC
in interface ContinuumService
projectId
- The project idbuildDef
- The build defintion to update
Exception
public Map<String,Object> addMavenOneProjectRPC(String url, int projectGroupId) throws Exception
ContinuumService
addMavenOneProjectRPC
in interface 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
addMavenTwoProjectRPC
in interface ContinuumService
url
- The POM url
Exception
public Map<String,Object> addMavenTwoProjectRPC(String url, int projectGroupId) throws Exception
ContinuumService
addMavenTwoProjectRPC
in interface ContinuumService
url
- The POM urlprojectGroupId
- The id of the group where projects will be stored
Exception
public Map<String,Object> addProjectGroupRPC(String groupName, String groupId, String description) throws Exception
ContinuumService
addProjectGroupRPC
in interface 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
addScheduleRPC
in interface ContinuumService
schedule
- The schedule
Exception
public Map<String,Object> addShellProjectRPC(Map<String,Object> project, int projectGroupId) throws Exception
ContinuumService
addShellProjectRPC
in interface 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
getAllProjectGroupsRPC
in interface ContinuumService
ProjectGroupSummary
as RPC value
Exception
public List<Object> getAllProjectGroupsWithAllDetailsRPC() throws Exception
ContinuumService
getAllProjectGroupsWithAllDetailsRPC
in interface ContinuumService
ProjectGroup
as RPC value
Exception
public List<Object> getBuildDefinitionTemplatesRPC() throws Exception
ContinuumService
getBuildDefinitionTemplatesRPC
in interface ContinuumService
Exception
public List<Object> getBuildDefinitionsForProjectGroupRPC(int projectGroupId) throws Exception
ContinuumService
getBuildDefinitionsForProjectGroupRPC
in interface ContinuumService
projectGroupId
- The project group id
Exception
public List<Object> getBuildDefinitionsForProjectRPC(int projectId) throws Exception
ContinuumService
getBuildDefinitionsForProjectRPC
in interface ContinuumService
projectId
- The project id
Exception
public Map<String,Object> getBuildResultRPC(int projectId, int buildId) throws Exception
ContinuumService
getBuildResultRPC
in interface ContinuumService
projectId
- The project idbuildId
- The build id
Exception
public List<Object> getBuildResultsForProjectRPC(int projectId) throws Exception
ContinuumService
getBuildResultsForProjectRPC
in interface ContinuumService
projectId
- The project id
Exception
public Map<String,Object> getInstallationRPC(int installationId) throws Exception
ContinuumService
getInstallationRPC
in interface ContinuumService
installationId
- The installation id
Exception
public List<Object> getInstallationsRPC() throws Exception
ContinuumService
getInstallationsRPC
in interface ContinuumService
Exception
public Map<String,Object> getLatestBuildResultRPC(int projectId) throws Exception
ContinuumService
getLatestBuildResultRPC
in interface ContinuumService
projectId
- The project id
Exception
public Map<String,Object> getProfileRPC(int profileId) throws Exception
ContinuumService
getProfileRPC
in interface ContinuumService
profileId
- The profile id
Exception
public List<Object> getProfilesRPC() throws Exception
ContinuumService
getProfilesRPC
in interface ContinuumService
Exception
public Map<String,Object> getProjectGroupSummaryRPC(int projectGroupId) throws Exception
ContinuumService
getProjectGroupSummaryRPC
in interface ContinuumService
projectGroupId
- The project group id
Exception
public Map<String,Object> getProjectGroupWithProjectsRPC(int projectGroupId) throws Exception
ContinuumService
getProjectGroupWithProjectsRPC
in interface ContinuumService
projectGroupId
- The project group id
Exception
public Map<String,Object> updateProjectGroupRPC(Map<String,Object> projectGroup) throws Exception
ContinuumService
updateProjectGroupRPC
in interface ContinuumService
projectGroup
- The project group to update
Exception
public Map<String,Object> getProjectSummaryRPC(int projectId) throws Exception
ContinuumService
getProjectSummaryRPC
in interface ContinuumService
projectId
- the project id
Exception
public Map<String,Object> getProjectWithAllDetailsRPC(int projectId) throws Exception
ContinuumService
getProjectWithAllDetailsRPC
in interface ContinuumService
projectId
- the project id
Exception
public List<Object> getProjectsRPC(int projectGroupId) throws Exception
ContinuumService
getProjectsRPC
in interface ContinuumService
projectGroupId
- The project group Id
ProjectSummary
as RPC value
Exception
public Map<String,Object> getScheduleRPC(int scheduleId) throws Exception
ContinuumService
getScheduleRPC
in interface ContinuumService
scheduleId
- The schedule id
Exception
public List<Object> getSchedulesRPC() throws Exception
ContinuumService
getSchedulesRPC
in interface ContinuumService
Exception
public Map<String,Object> getSystemConfigurationRPC() throws Exception
getSystemConfigurationRPC
in interface ContinuumService
Exception
public int removeBuildResultRPC(Map<String,Object> br) throws Exception
ContinuumService
removeBuildResultRPC
in interface ContinuumService
br
- The project build result
Exception
public Map<String,Object> updateBuildDefinitionForProjectGroupRPC(int projectGroupId, Map<String,Object> buildDef) throws Exception
ContinuumService
updateBuildDefinitionForProjectGroupRPC
in interface ContinuumService
projectGroupId
- The project group idbuildDef
- The build defintion to update
Exception
public Map<String,Object> updateBuildDefinitionForProjectRPC(int projectId, Map<String,Object> buildDef) throws Exception
ContinuumService
updateBuildDefinitionForProjectRPC
in interface ContinuumService
projectId
- The project idbuildDef
- The build defintion to update
Exception
public Map<String,Object> updateProjectRPC(Map<String,Object> project) throws Exception
ContinuumService
updateProjectRPC
in interface ContinuumService
project
- The project to update
Exception
public Map<String,Object> updateScheduleRPC(Map<String,Object> schedule) throws Exception
ContinuumService
updateScheduleRPC
in interface ContinuumService
schedule
- The schedule
Exception
public ProjectGroup getProjectGroup(int projectGroupId) throws Exception
ContinuumService
getProjectGroup
in interface ContinuumService
projectGroupId
- the id
Exception
public Map<String,Object> getProjectGroupRPC(int projectGroupId) throws Exception
ContinuumService
getProjectGroupRPC
in interface ContinuumService
projectGroupId
- the id
Exception
public ProjectNotifier getGroupNotifier(int projectgroupid, int notifierId) throws Exception
getGroupNotifier
in interface ContinuumService
Exception
public Map<String,Object> getGroupNotifierRPC(int projectgroupid, int notifierId) throws Exception
getGroupNotifierRPC
in interface ContinuumService
Exception
public ProjectNotifier getNotifier(int projectid, int notifierId) throws Exception
getNotifier
in interface ContinuumService
Exception
public Map<String,Object> getNotifierRPC(int projectid, int notifierId) throws Exception
getNotifierRPC
in interface ContinuumService
Exception
public ProjectNotifier updateGroupNotifier(int projectgroupid, ProjectNotifier newNotifier) throws Exception
updateGroupNotifier
in interface ContinuumService
Exception
public Map<String,Object> updateGroupNotifierRPC(int projectgroupid, Map<String,Object> newNotifier) throws Exception
updateGroupNotifierRPC
in interface ContinuumService
Exception
public ProjectNotifier updateNotifier(int projectid, ProjectNotifier newNotifier) throws Exception
updateNotifier
in interface ContinuumService
Exception
public Map<String,Object> updateNotifierRPC(int projectid, Map<String,Object> newNotifier) throws Exception
updateNotifierRPC
in interface ContinuumService
Exception
public int removeGroupNotifier(int projectgroupid, int notifierId) throws Exception
removeGroupNotifier
in interface ContinuumService
Exception
public int removeNotifier(int projectid, int notifierId) throws Exception
removeNotifier
in interface ContinuumService
Exception
public ProjectNotifier addGroupNotifier(int projectgroupid, ProjectNotifier newNotifier) throws Exception
addGroupNotifier
in interface ContinuumService
Exception
public Map<String,Object> addGroupNotifierRPC(int projectgroupid, Map<String,Object> newNotifier) throws Exception
addGroupNotifierRPC
in interface ContinuumService
Exception
public ProjectNotifier addNotifier(int projectid, ProjectNotifier newNotifier) throws Exception
addNotifier
in interface ContinuumService
Exception
public Map<String,Object> addNotifierRPC(int projectid, Map<String,Object> newNotifier) throws Exception
addNotifierRPC
in interface ContinuumService
Exception
public Installation addInstallation(Installation installation) throws Exception
addInstallation
in interface ContinuumService
Exception
public Map<String,Object> addInstallationRPC(Map<String,Object> installation) throws Exception
addInstallationRPC
in interface ContinuumService
Exception
public Profile addProfile(Profile profile) throws Exception
addProfile
in interface ContinuumService
Exception
public Map<String,Object> addProfileRPC(Map<String,Object> profile) throws Exception
addProfileRPC
in interface ContinuumService
Exception
public int deleteInstallation(int installationId) throws Exception
deleteInstallation
in interface ContinuumService
Exception
public int deleteProfile(int profileId) throws Exception
deleteProfile
in interface ContinuumService
Exception
public int updateInstallation(Installation installation) throws Exception
updateInstallation
in interface ContinuumService
Exception
public int updateInstallationRPC(Map<String,Object> installation) throws Exception
updateInstallationRPC
in interface ContinuumService
Exception
public int updateProfile(Profile profile) throws Exception
updateProfile
in interface ContinuumService
Exception
public int updateProfileRPC(Map<String,Object> profile) throws Exception
updateProfileRPC
in interface ContinuumService
Exception
public Map<String,Object> getReleaseResultRPC(int releaseId) throws Exception
ContinuumService
getReleaseResultRPC
in interface ContinuumService
releaseId
- The release id
Exception
public List<Object> getReleaseResultsForProjectGroupRPC(int projectGroupId) throws Exception
ContinuumService
getReleaseResultsForProjectGroupRPC
in interface ContinuumService
projectGroupId
- The project group id
Exception
public int removeReleaseResultRPC(Map<String,Object> rr) throws Exception
ContinuumService
removeReleaseResultRPC
in interface ContinuumService
rr
- The project release result
Exception
public Map<String,Object> addRepositoryPurgeConfigurationRPC(Map<String,Object> repoPurge) throws Exception
ContinuumService
addRepositoryPurgeConfigurationRPC
in interface ContinuumService
repoPurge
- the repository purge configuration
Exception
public int updateRepositoryPurgeConfigurationRPC(Map<String,Object> repoPurge) throws Exception
ContinuumService
updateRepositoryPurgeConfigurationRPC
in interface ContinuumService
repoPurge
- the repository purge configuration
Exception
public Map<String,Object> getRepositoryPurgeConfigurationRPC(int repoPurgeId) throws Exception
ContinuumService
getRepositoryPurgeConfigurationRPC
in interface ContinuumService
repoPurgeId
- the repository purge configuration id
Exception
public List<Object> getAllRepositoryPurgeConfigurationsRPC() throws Exception
ContinuumService
getAllRepositoryPurgeConfigurationsRPC
in interface ContinuumService
Exception
public Map<String,Object> addDirectoryPurgeConfigurationRPC(Map<String,Object> dirPurge) throws Exception
ContinuumService
addDirectoryPurgeConfigurationRPC
in interface ContinuumService
dirPurge
- the directory purge configuration
Exception
public int updateDirectoryPurgeConfigurationRPC(Map<String,Object> dirPurge) throws Exception
ContinuumService
updateDirectoryPurgeConfigurationRPC
in interface ContinuumService
dirPurge
- the directory purge configuration
Exception
public Map<String,Object> getDirectoryPurgeConfigurationRPC(int dirPurgeId) throws Exception
ContinuumService
getDirectoryPurgeConfigurationRPC
in interface ContinuumService
dirPurgeId
- the directory purge configuration id
Exception
public List<Object> getAllDirectoryPurgeConfigurationsRPC() throws Exception
ContinuumService
getAllDirectoryPurgeConfigurationsRPC
in interface ContinuumService
Exception
public Map<String,Object> addLocalRepositoryRPC(Map<String,Object> repository) throws Exception
ContinuumService
addLocalRepositoryRPC
in interface ContinuumService
repository
- the local repository to add
Exception
public int updateLocalRepositoryRPC(Map<String,Object> repository) throws Exception
ContinuumService
updateLocalRepositoryRPC
in interface ContinuumService
repository
- the local repository to update
Exception
public Map<String,Object> getLocalRepositoryRPC(int repositoryId) throws Exception
ContinuumService
getLocalRepositoryRPC
in interface ContinuumService
Exception
public List<Object> getAllLocalRepositoriesRPC() throws Exception
ContinuumService
getAllLocalRepositoriesRPC
in interface ContinuumService
Exception
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |