Class JobResource
java.lang.Object
com.atlassian.bamboo.plugins.testutils.rest.resource.job.JobResource
@Path("job")
@Consumes("application/json")
@Produces("application/json")
@Singleton
public class JobResource
extends Object
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionjavax.ws.rs.core.Response
createJobs
(RestJobBatch jobBatch) Create a number of jobs in the given stage with randomised keys and names.
-
Field Details
-
API_DOC_EXAMPLE_CREATE_JOBS
-
-
Constructor Details
-
JobResource
-
-
Method Details
-
createJobs
@POST @Path("/batch") public javax.ws.rs.core.Response createJobs(RestJobBatch jobBatch) throws WebValidationException Create a number of jobs in the given stage with randomised keys and names.- Parameters:
jobBatch
- details of the jobs to be created.- Throws:
WebValidationException
- if invalid input is provided.
-