Class DeploymentQueueResource
- java.lang.Object
-
- com.atlassian.bamboo.plugins.rest.deployments.execution.DeploymentQueueResource
-
@Singleton public class DeploymentQueueResource extends Object
-
-
Constructor Summary
Constructors Constructor Description DeploymentQueueResource(BuildQueueManager buildQueueManager, BambooUserManager bambooUserManager, DeploymentExecutionService deploymentExecutionService, DeploymentProjectService deploymentProjectService, DeploymentResultService deploymentResultService, DeploymentVersionService deploymentVersionService, EnvironmentService environmentService, EnvironmentTriggeringActionFactory environmentTriggeringActionFactory, com.atlassian.sal.api.message.I18nResolver i18nResolver, PlanExecutionManager planExecutionManager)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description RestQueuedDeployments
getBuildQueue(String expandParam, javax.ws.rs.core.UriInfo uriInfo)
javax.ws.rs.core.Response
removeDeploymentFromQueue(Long deploymentResultId, com.atlassian.plugins.rest.common.security.AuthenticationContext authenticationContext)
RestQueuedDeployment
startDeployment(@Nullable Long environmentId, @Nullable Long versionId, @org.jetbrains.annotations.Nullable boolean verboseLogging, javax.ws.rs.core.UriInfo uriInfo, com.atlassian.plugins.rest.common.security.AuthenticationContext authenticationContext)
-
-
-
Constructor Detail
-
DeploymentQueueResource
public DeploymentQueueResource(BuildQueueManager buildQueueManager, BambooUserManager bambooUserManager, DeploymentExecutionService deploymentExecutionService, DeploymentProjectService deploymentProjectService, DeploymentResultService deploymentResultService, DeploymentVersionService deploymentVersionService, EnvironmentService environmentService, EnvironmentTriggeringActionFactory environmentTriggeringActionFactory, com.atlassian.sal.api.message.I18nResolver i18nResolver, PlanExecutionManager planExecutionManager)
-
-
Method Detail
-
getBuildQueue
public RestQueuedDeployments getBuildQueue(String expandParam, @Context javax.ws.rs.core.UriInfo uriInfo)
-
startDeployment
public RestQueuedDeployment startDeployment(@Nullable @Nullable Long environmentId, @Nullable @Nullable Long versionId, @Nullable @org.jetbrains.annotations.Nullable boolean verboseLogging, @Context javax.ws.rs.core.UriInfo uriInfo, @Context com.atlassian.plugins.rest.common.security.AuthenticationContext authenticationContext) throws WebValidationException, org.acegisecurity.AccessDeniedException
- Throws:
WebValidationException
org.acegisecurity.AccessDeniedException
-
removeDeploymentFromQueue
public javax.ws.rs.core.Response removeDeploymentFromQueue(Long deploymentResultId, @Context com.atlassian.plugins.rest.common.security.AuthenticationContext authenticationContext) throws WebValidationException
- Throws:
WebValidationException
-
-