Class JobResource


  • @Singleton
    public class JobResource
    extends Object
    • Field Detail

      • API_DOC_EXAMPLE_CREATE_JOBS

        public static final RestJobBatch API_DOC_EXAMPLE_CREATE_JOBS
    • Constructor Detail

    • Method Detail

      • createJobs

        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.