@Singleton public class JobResource extends Object
Modifier and Type | Field and Description |
---|---|
static RestJobBatch |
API_DOC_EXAMPLE_CREATE_JOBS |
Constructor and Description |
---|
JobResource(JobTestService jobTestService) |
Modifier and Type | Method and Description |
---|---|
javax.ws.rs.core.Response |
createJobs(RestJobBatch jobBatch)
Create a number of jobs in the given stage with randomised keys and names.
|
public static final RestJobBatch API_DOC_EXAMPLE_CREATE_JOBS
public JobResource(JobTestService jobTestService)
public javax.ws.rs.core.Response createJobs(RestJobBatch jobBatch) throws WebValidationException
jobBatch
- details of the jobs to be created.WebValidationException
- if invalid input is provided.Copyright © 2017 Atlassian Software Systems Pty Ltd. All rights reserved.