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, org.springframework.batch.core.ExitStatus exitStatus, java.lang.Integer maxNumberOfJobInstances, java.lang.Integer maxNumberOfJobExecutionsPerInstance)  
      JobExecutionResource get​(long id)  
      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="exitStatus",required=false)
                                                                               org.springframework.batch.core.ExitStatus exitStatus,
                                                                               @RequestParam(value="maxNumberOfJobInstances",required=false)
                                                                               java.lang.Integer maxNumberOfJobInstances,
                                                                               @RequestParam(value="maxNumberOfJobExecutionsPerInstance",required=false)
                                                                               java.lang.Integer maxNumberOfJobExecutionsPerInstance)
      • put

        @PostMapping
        public JobExecutionResource put​(@RequestBody
                                        com.github.chrisgleissner.springbatchrest.util.adhoc.JobConfig jobConfig)