Class QueueResource
- java.lang.Object
-
- com.atlassian.bamboo.plugins.rest.resource.QueueResource
-
@Singleton public class QueueResource extends Object
Lists all the builds waiting in the build queue, adds or removes a build from the build queue. May be used also to resume build on manual stage or rerun failed jobs.
-
-
Constructor Summary
Constructors Constructor Description QueueResource(PlanRestService planRestService, BambooPermissionManager bambooPermissionManager, BambooUserManager bambooUserManager, BuildQueueManager buildQueueManager, com.atlassian.sal.api.message.I18nResolver i18nResolver, PlanExecutionManager planExecutionManager, ResultsSummaryManager resultsSummaryManager)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description RestQueuedBuild
continueBuild(String projectKey, String buildKey, Integer buildNumber, String stageName, boolean executeAllStages, javax.ws.rs.core.UriInfo uriInfo, com.atlassian.plugins.rest.common.security.AuthenticationContext authenticationContext)
RestQueuedBuilds
getBuildQueue(javax.ws.rs.core.UriInfo uriInfo)
RestQueuedBuild
startBuild(String projectKey, String buildKey, String stageName, boolean executeAllStages, String customRevision, javax.ws.rs.core.UriInfo uriInfo, com.atlassian.plugins.rest.common.security.AuthenticationContext authenticationContext, String fakeParam, javax.ws.rs.core.MultivaluedMap<String,String> formParams)
javax.ws.rs.core.Response
stopBuild(String projectKey, String buildKey, int buildNumber)
-
-
-
Constructor Detail
-
QueueResource
public QueueResource(PlanRestService planRestService, BambooPermissionManager bambooPermissionManager, BambooUserManager bambooUserManager, BuildQueueManager buildQueueManager, com.atlassian.sal.api.message.I18nResolver i18nResolver, PlanExecutionManager planExecutionManager, ResultsSummaryManager resultsSummaryManager)
-
-
Method Detail
-
getBuildQueue
public RestQueuedBuilds getBuildQueue(@Context javax.ws.rs.core.UriInfo uriInfo)
-
startBuild
public RestQueuedBuild startBuild(String projectKey, String buildKey, String stageName, boolean executeAllStages, String customRevision, @Context javax.ws.rs.core.UriInfo uriInfo, @Context com.atlassian.plugins.rest.common.security.AuthenticationContext authenticationContext, String fakeParam, javax.ws.rs.core.MultivaluedMap<String,String> formParams) throws WebValidationException
- Throws:
WebValidationException
-
continueBuild
public RestQueuedBuild continueBuild(String projectKey, String buildKey, Integer buildNumber, String stageName, boolean executeAllStages, @Context javax.ws.rs.core.UriInfo uriInfo, @Context com.atlassian.plugins.rest.common.security.AuthenticationContext authenticationContext)
-
-