com.atlassian.bamboo.plugins.rest.deployments.projects
Class DeploymentProjectResource
java.lang.Object
com.atlassian.bamboo.plugins.rest.deployments.projects.DeploymentProjectResource
@Singleton
public class DeploymentProjectResource
- extends Object
Method Summary |
RestDeploymentProject |
addDeploymentProject(RestDeploymentProject restDeploymentProject,
javax.ws.rs.core.UriInfo uriInfo,
javax.ws.rs.core.HttpHeaders httpHeaders)
|
RestDeploymentProject |
editDeploymentProject(long id,
RestDeploymentProject restDeploymentProject,
javax.ws.rs.core.UriInfo uriInfo,
javax.ws.rs.core.HttpHeaders httpHeaders)
|
List<RestDeploymentProject> |
getAllDeploymentProjects(javax.ws.rs.core.UriInfo uriInfo,
javax.ws.rs.core.HttpHeaders httpHeaders)
Return all Package Definitions, including jobs. |
RestDeploymentProject |
getDeploymentProject(long id,
javax.ws.rs.core.UriInfo uriInfo,
javax.ws.rs.core.HttpHeaders httpHeaders)
|
List<RestLinkedDeploymentProject> |
getDeploymentProjectsForPlan(String planKeyString,
javax.ws.rs.core.UriInfo uriInfo,
javax.ws.rs.core.HttpHeaders httpHeaders)
|
RestDeploymentVersionList |
getDeploymentProjectVersions(long projectId,
String branchKey,
javax.ws.rs.core.UriInfo uriInfo,
javax.ws.rs.core.HttpHeaders httpHeaders)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DeploymentProjectResource
public DeploymentProjectResource(DeploymentProjectService deploymentProjectService,
EnvironmentService environmentService,
DeploymentVersionService deploymentVersionService,
LinkedDeploymentProjectCacheService linkedDeploymentProjectCacheService)
getAllDeploymentProjects
public List<RestDeploymentProject> getAllDeploymentProjects(@Context
javax.ws.rs.core.UriInfo uriInfo,
@Context
javax.ws.rs.core.HttpHeaders httpHeaders)
throws Exception
- Return all Package Definitions, including jobs.
- Parameters:
uriInfo
- httpHeaders
-
- Throws:
Exception
addDeploymentProject
public RestDeploymentProject addDeploymentProject(RestDeploymentProject restDeploymentProject,
@Context
javax.ws.rs.core.UriInfo uriInfo,
@Context
javax.ws.rs.core.HttpHeaders httpHeaders)
getDeploymentProject
public RestDeploymentProject getDeploymentProject(long id,
@Context
javax.ws.rs.core.UriInfo uriInfo,
@Context
javax.ws.rs.core.HttpHeaders httpHeaders)
editDeploymentProject
public RestDeploymentProject editDeploymentProject(long id,
RestDeploymentProject restDeploymentProject,
@Context
javax.ws.rs.core.UriInfo uriInfo,
@Context
javax.ws.rs.core.HttpHeaders httpHeaders)
getDeploymentProjectVersions
public RestDeploymentVersionList getDeploymentProjectVersions(long projectId,
String branchKey,
@Context
javax.ws.rs.core.UriInfo uriInfo,
@Context
javax.ws.rs.core.HttpHeaders httpHeaders)
throws Exception
- Throws:
Exception
getDeploymentProjectsForPlan
public List<RestLinkedDeploymentProject> getDeploymentProjectsForPlan(String planKeyString,
@Context
javax.ws.rs.core.UriInfo uriInfo,
@Context
javax.ws.rs.core.HttpHeaders httpHeaders)
Copyright © 2015 Atlassian Software Systems Pty Ltd. All rights reserved.