Class QueueResource
java.lang.Object
com.atlassian.bamboo.plugins.testutils.rest.resource.plan.QueueResource
@Path("queue")
@Consumes("application/json")
@Produces("application/json")
@Singleton
public class QueueResource
extends Object
-
Constructor Summary
ConstructorDescriptionQueueResource
(BuildQueueManager buildQueueManager, PlansGroupExecutionManager plansGroupExecutionManager, RestAuthenticationContext restAuthenticationContext) -
Method Summary
Modifier and TypeMethodDescriptionjavax.ws.rs.core.Response
javax.ws.rs.core.Response
getStatusOfGroupExecution
(RestAuthenticationContext restAuthenticationContext) javax.ws.rs.core.Response
startPlansInProject
(String projectKey, RestAuthenticationContext restAuthenticationContext)
-
Constructor Details
-
QueueResource
@Inject public QueueResource(BuildQueueManager buildQueueManager, PlansGroupExecutionManager plansGroupExecutionManager, RestAuthenticationContext restAuthenticationContext)
-
-
Method Details
-
getQueueView
@GET public javax.ws.rs.core.Response getQueueView()- Returns:
- keys of results from queue
-
startPlansInProject
@POST @Path("{projectKey : ([^-/]+)}") public javax.ws.rs.core.Response startPlansInProject(@PathParam("projectKey") String projectKey, @Context RestAuthenticationContext restAuthenticationContext) throws WebValidationException - Throws:
WebValidationException
-
getStatusOfGroupExecution
@GET @Path("status") public javax.ws.rs.core.Response getStatusOfGroupExecution(@Context RestAuthenticationContext restAuthenticationContext) throws WebValidationException - Throws:
WebValidationException
-