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