@Singleton public class DeploymentDashboardResource extends Object
Modifier and Type | Class and Description |
---|---|
static class |
DeploymentDashboardResource.EnvironmentIds
Wrapper for list of ids
|
Constructor and Description |
---|
DeploymentDashboardResource(DeploymentProjectService deploymentProjectService,
EnvironmentService environmentService,
DeploymentResultService deploymentResultService,
DeploymentVersionService deploymentVersionService,
LinkService linkService,
com.atlassian.sal.api.message.I18nResolver i18nResolver) |
Modifier and Type | Method and 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)
Get environment latest release info.
|
RestPageModel<RestDeploymentProject> |
getPaginateDeploymentProject(long projectId,
String filter,
PageRequest pageRequest,
javax.ws.rs.core.UriInfo uriInfo,
javax.ws.rs.core.HttpHeaders httpHeaders) |
public DeploymentDashboardResource(DeploymentProjectService deploymentProjectService, EnvironmentService environmentService, DeploymentResultService deploymentResultService, DeploymentVersionService deploymentVersionService, LinkService linkService, com.atlassian.sal.api.message.I18nResolver i18nResolver)
public RestPageModel<RestDeploymentProject> getDeploymentProjects(String filter, @Context PageRequest pageRequest, @Context javax.ws.rs.core.UriInfo uriInfo, @Context javax.ws.rs.core.HttpHeaders httpHeaders)
public List<RestEnvironmentStatusForDashboard> getEnvironmentStatutes(DeploymentDashboardResource.EnvironmentIds environmentIds) throws UnauthorisedException, WebValidationException
environmentIds
- identifiers of environmentsUnauthorisedException
WebValidationException
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)
public List<com.atlassian.bamboo.plugins.rest.deployments.projects.DeploymentDashboardResource.DashboardProjectWithEnvironmentStatus> getAllDeploymentProjects(@Context javax.ws.rs.core.UriInfo uriInfo)
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)
Copyright © 2021 Atlassian Software Systems Pty Ltd. All rights reserved.