Class DeploymentDashboardResource
java.lang.Object
com.atlassian.bamboo.plugins.rest.deployments.projects.DeploymentDashboardResource
@Path("deploy/dashboard")
@Consumes("application/json")
@Produces("application/json")
@Singleton
public class DeploymentDashboardResource
extends Object
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
Wrapper for list of ids -
Constructor Summary
ConstructorDescriptionDeploymentDashboardResource
(DeploymentProjectService deploymentProjectService, EnvironmentService environmentService, DeploymentResultService deploymentResultService, DeploymentVersionService deploymentVersionService, LinkService linkService, com.atlassian.sal.api.message.I18nResolver i18nResolver) -
Method Summary
Modifier and TypeMethodDescriptionList<com.atlassian.bamboo.plugins.rest.deployments.projects.DeploymentDashboardResource.DashboardProjectWithEnvironmentStatus>
getAllDeploymentProjects
(javax.ws.rs.core.UriInfo uriInfo) List<com.atlassian.bamboo.plugins.rest.deployments.projects.DeploymentDashboardResource.DashboardProjectWithEnvironmentStatus>
getDeploymentProject
(long projectId, javax.ws.rs.core.UriInfo uriInfo) getDeploymentProjects
(String filter, PageRequest pageRequest, javax.ws.rs.core.UriInfo uriInfo) getEnvironmentStatutes
(DeploymentDashboardResource.EnvironmentIds environmentIds) getPaginateDeploymentProject
(long projectId, String filter, PageRequest pageRequest, javax.ws.rs.core.UriInfo uriInfo)
-
Constructor Details
-
DeploymentDashboardResource
@Inject public DeploymentDashboardResource(DeploymentProjectService deploymentProjectService, EnvironmentService environmentService, DeploymentResultService deploymentResultService, DeploymentVersionService deploymentVersionService, LinkService linkService, com.atlassian.sal.api.message.I18nResolver i18nResolver)
-
-
Method Details
-
getDeploymentProjects
@GET @Path("/paginate") public RestPageModel<RestDeploymentProject> getDeploymentProjects(@QueryParam("filter") @DefaultValue("") String filter, @BeanParam PageRequest pageRequest, @Context javax.ws.rs.core.UriInfo uriInfo) -
getEnvironmentStatutes
@POST @Path("/status") public List<RestEnvironmentStatusForDashboard> getEnvironmentStatutes(DeploymentDashboardResource.EnvironmentIds environmentIds) throws UnauthorisedException, WebValidationException -
getPaginateDeploymentProject
@GET @Path("/paginate/{projectId}") public RestPageModel<RestDeploymentProject> getPaginateDeploymentProject(@PathParam("projectId") long projectId, @QueryParam("filter") @DefaultValue("") String filter, @BeanParam PageRequest pageRequest, @Context javax.ws.rs.core.UriInfo uriInfo) -
getAllDeploymentProjects
@GET public List<com.atlassian.bamboo.plugins.rest.deployments.projects.DeploymentDashboardResource.DashboardProjectWithEnvironmentStatus> getAllDeploymentProjects(@Context javax.ws.rs.core.UriInfo uriInfo) -
getDeploymentProject
@GET @Path("{projectId}") public List<com.atlassian.bamboo.plugins.rest.deployments.projects.DeploymentDashboardResource.DashboardProjectWithEnvironmentStatus> getDeploymentProject(@PathParam("projectId") long projectId, @Context javax.ws.rs.core.UriInfo uriInfo)
-