class JobRestController extends HerdBaseController {

    @RequestMapping(value = "/jobs/signal", method = RequestMethod.POST, consumes = {"application/xml", "application/json"})
    @Secured(SecurityFunctions.FN_JOBS_SIGNAL_POST)
    public Job signalJob(@RequestBody JobSignalRequest request) throws Exception
    {
        // Create and return a new job.
        return jobService.signalJob(request);
    }

}