Class JobExecutionController


  • @RestController
    @RequestMapping(value="/jobExecutions",
                    produces="application/hal+json")
    public class JobExecutionController
    extends java.lang.Object
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      org.springframework.hateoas.Resources<JobExecutionResource> all​(java.lang.String jobName, java.lang.String exitCode, java.lang.Integer limitPerJob)  
      JobExecutionResource get​(long id)  
      org.springframework.http.ResponseEntity<JobExecutionResource> put​(com.github.chrisgleissner.springbatchrest.util.adhoc.JobConfig jobConfig)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • JobExecutionController

        public JobExecutionController()
    • Method Detail

      • all

        @GetMapping
        public org.springframework.hateoas.Resources<JobExecutionResource> all​(@RequestParam(value="jobName",required=false)
                                                                               java.lang.String jobName,
                                                                               @RequestParam(value="exitCode",required=false)
                                                                               java.lang.String exitCode,
                                                                               @RequestParam(value="limitPerJob",defaultValue="3")
                                                                               java.lang.Integer limitPerJob)
      • put

        @PostMapping
        public org.springframework.http.ResponseEntity<JobExecutionResource> put​(@RequestBody
                                                                                 com.github.chrisgleissner.springbatchrest.util.adhoc.JobConfig jobConfig)