Class DeploymentDashboardResource
- java.lang.Object
-
- com.atlassian.bamboo.plugins.rest.deployments.projects.DeploymentDashboardResource
-
@Singleton public class DeploymentDashboardResource extends Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
DeploymentDashboardResource.EnvironmentIds
Wrapper for list of ids
-
Constructor Summary
Constructors Constructor Description DeploymentDashboardResource(DeploymentProjectService deploymentProjectService, EnvironmentService environmentService, DeploymentResultService deploymentResultService, DeploymentVersionService deploymentVersionService, LinkService linkService, com.atlassian.sal.api.message.I18nResolver i18nResolver)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<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, javax.ws.rs.core.HttpHeaders httpHeaders)
RestPageModel<RestDeploymentProject>
getDeploymentProjects(String filter, PageRequest pageRequest, javax.ws.rs.core.UriInfo uriInfo, javax.ws.rs.core.HttpHeaders httpHeaders)
List<RestEnvironmentStatusForDashboard>
getEnvironmentStatutes(DeploymentDashboardResource.EnvironmentIds environmentIds)
RestPageModel<RestDeploymentProject>
getPaginateDeploymentProject(long projectId, String filter, PageRequest pageRequest, javax.ws.rs.core.UriInfo uriInfo, javax.ws.rs.core.HttpHeaders httpHeaders)
-
-
-
Constructor Detail
-
DeploymentDashboardResource
public DeploymentDashboardResource(DeploymentProjectService deploymentProjectService, EnvironmentService environmentService, DeploymentResultService deploymentResultService, DeploymentVersionService deploymentVersionService, LinkService linkService, com.atlassian.sal.api.message.I18nResolver i18nResolver)
-
-
Method Detail
-
getDeploymentProjects
public RestPageModel<RestDeploymentProject> getDeploymentProjects(String filter, @Context PageRequest pageRequest, @Context javax.ws.rs.core.UriInfo uriInfo, @Context javax.ws.rs.core.HttpHeaders httpHeaders)
-
getEnvironmentStatutes
public List<RestEnvironmentStatusForDashboard> getEnvironmentStatutes(DeploymentDashboardResource.EnvironmentIds environmentIds) throws UnauthorisedException, WebValidationException
-
getPaginateDeploymentProject
public RestPageModel<RestDeploymentProject> getPaginateDeploymentProject(long projectId, String filter, @Context PageRequest pageRequest, @Context javax.ws.rs.core.UriInfo uriInfo, @Context javax.ws.rs.core.HttpHeaders httpHeaders)
-
getAllDeploymentProjects
public List<com.atlassian.bamboo.plugins.rest.deployments.projects.DeploymentDashboardResource.DashboardProjectWithEnvironmentStatus> getAllDeploymentProjects(@Context javax.ws.rs.core.UriInfo uriInfo)
-
getDeploymentProject
public List<com.atlassian.bamboo.plugins.rest.deployments.projects.DeploymentDashboardResource.DashboardProjectWithEnvironmentStatus> getDeploymentProject(long projectId, @Context javax.ws.rs.core.UriInfo uriInfo, @Context javax.ws.rs.core.HttpHeaders httpHeaders)
-
-