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 Details

    • API_DOC_EXAMPLE_CREATE_JOBS

      public static final RestJobBatch API_DOC_EXAMPLE_CREATE_JOBS
  • Constructor Details

    • JobResource

      @Inject public JobResource(JobTestService jobTestService)
  • 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.