Class JobController


  • @RestController
    @RequestMapping("/rest/graph/jobs")
    public class JobController
    extends Object
    • Method Detail

      • startJob

        @PostMapping(consumes="application/json",
                     produces="application/json")
        public org.springframework.http.ResponseEntity<JobDetail> startJob​(@RequestHeader
                                                                           org.springframework.http.HttpHeaders httpHeaders,
                                                                           @RequestBody
                                                                           Operation operation)
                                                                    throws OperationException
        Throws:
        OperationException
      • scheduleJob

        @PostMapping(path="/schedule",
                     consumes="application/json",
                     produces="application/json")
        public org.springframework.http.ResponseEntity<JobDetail> scheduleJob​(@RequestHeader
                                                                              org.springframework.http.HttpHeaders httpHeaders,
                                                                              @RequestBody
                                                                              Job job)
                                                                       throws OperationException
        Throws:
        OperationException
      • getResults

        @GetMapping(path="/{id}/results",
                    produces="application/json")
        public Object getResults​(@RequestHeader
                                 org.springframework.http.HttpHeaders httpHeaders,
                                 @PathVariable("id")
                                 String id)
                          throws OperationException
        Throws:
        OperationException