@Singleton public class DeploymentQueueResource extends Object
Constructor and 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) |
Modifier and Type | Method and 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,
@Nullable boolean verboseLogging,
javax.ws.rs.core.UriInfo uriInfo,
com.atlassian.plugins.rest.common.security.AuthenticationContext authenticationContext) |
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)
public RestQueuedDeployments getBuildQueue(String expandParam, @Context javax.ws.rs.core.UriInfo uriInfo)
public RestQueuedDeployment startDeployment(@Nullable @Nullable Long environmentId, @Nullable @Nullable Long versionId, @Nullable @Nullable boolean verboseLogging, @Context javax.ws.rs.core.UriInfo uriInfo, @Context com.atlassian.plugins.rest.common.security.AuthenticationContext authenticationContext) throws WebValidationException, org.acegisecurity.AccessDeniedException
WebValidationException
org.acegisecurity.AccessDeniedException
public javax.ws.rs.core.Response removeDeploymentFromQueue(Long deploymentResultId, @Context com.atlassian.plugins.rest.common.security.AuthenticationContext authenticationContext) throws WebValidationException
WebValidationException
Copyright © 2022 Atlassian Software Systems Pty Ltd. All rights reserved.