Class JobControllerDecorator

java.lang.Object
de.dlr.proseo.model.rest.JobControllerDecorator
All Implemented Interfaces:
JobController

@RestController @RequestMapping(value="/proseo/planner/{version}/jobs", produces="application/json") @Validated public class JobControllerDecorator extends Object implements JobController
No description (Generated with springmvc-raml-parser v.2.0.5)
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    org.springframework.http.ResponseEntity<RestJob>
    cancelJob(String id, org.springframework.http.HttpHeaders httpHeaders)
    Cancel job of id
    org.springframework.http.ResponseEntity<?>
    countJobs(String state, Long orderid, org.springframework.http.HttpHeaders httpHeaders)
    Get number of jobs, possibly filtered by state and processing order
    org.springframework.http.ResponseEntity<RestJob>
    getJob(String name, org.springframework.http.HttpHeaders httpHeaders)
    Get production planner job
    org.springframework.http.ResponseEntity<List<RestJob>>
    getJobs(String state, Long orderid, Long recordFrom, Long recordTo, Boolean logs, String[] orderBy, org.springframework.http.HttpHeaders httpHeaders)
    Get production planner jobs by state
    org.springframework.http.ResponseEntity<RestJobGraph>
    graphJobSteps(String id, org.springframework.http.HttpHeaders httpHeaders)
    Dependencies of all job steps of job
    org.springframework.http.ResponseEntity<RestJob>
    resumeJob(String id, org.springframework.http.HttpHeaders httpHeaders)
    Resume job of id
    org.springframework.http.ResponseEntity<RestJob>
    retryJob(String id, org.springframework.http.HttpHeaders httpHeaders)
    Retry job of id
    org.springframework.http.ResponseEntity<RestJob>
    suspendJob(String id, Boolean force, org.springframework.http.HttpHeaders httpHeaders)
    Suspend job of id

    Methods inherited from class java.lang.Object

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

    • JobControllerDecorator

      public JobControllerDecorator()
  • Method Details

    • getJobs

      @RequestMapping(value="", method=GET) public org.springframework.http.ResponseEntity<List<RestJob>> getJobs(@RequestParam(required=false) String state, @RequestParam(required=false) Long orderid, @RequestParam(required=false) Long recordFrom, @RequestParam(required=false) Long recordTo, @RequestParam(required=false) Boolean logs, @RequestParam(required=false) String[] orderBy, @RequestHeader org.springframework.http.HttpHeaders httpHeaders)
      Get production planner jobs by state
      Specified by:
      getJobs in interface JobController
    • countJobs

      @RequestMapping(value="/count", method=GET) public org.springframework.http.ResponseEntity<?> countJobs(@RequestParam(required=false) String state, @RequestParam(required=false) Long orderid, @RequestHeader org.springframework.http.HttpHeaders httpHeaders)
      Get number of jobs, possibly filtered by state and processing order
      Specified by:
      countJobs in interface JobController
    • getJob

      @RequestMapping(value="/{name}", method=GET) public org.springframework.http.ResponseEntity<RestJob> getJob(@PathVariable String name, @RequestHeader org.springframework.http.HttpHeaders httpHeaders)
      Get production planner job
      Specified by:
      getJob in interface JobController
    • resumeJob

      @RequestMapping(value="/resume/{id}", method=PATCH) public org.springframework.http.ResponseEntity<RestJob> resumeJob(@PathVariable String id, @RequestHeader org.springframework.http.HttpHeaders httpHeaders)
      Resume job of id
      Specified by:
      resumeJob in interface JobController
    • cancelJob

      @RequestMapping(value="/cancel/{id}", method=PATCH) public org.springframework.http.ResponseEntity<RestJob> cancelJob(@PathVariable String id, @RequestHeader org.springframework.http.HttpHeaders httpHeaders)
      Cancel job of id
      Specified by:
      cancelJob in interface JobController
    • suspendJob

      @RequestMapping(value="/suspend/{id}", method=PATCH) public org.springframework.http.ResponseEntity<RestJob> suspendJob(@PathVariable String id, @RequestParam(required=false) Boolean force, @RequestHeader org.springframework.http.HttpHeaders httpHeaders)
      Suspend job of id
      Specified by:
      suspendJob in interface JobController
    • retryJob

      @RequestMapping(value="/retry/{id}", method=PATCH) public org.springframework.http.ResponseEntity<RestJob> retryJob(@PathVariable String id, @RequestHeader org.springframework.http.HttpHeaders httpHeaders)
      Retry job of id
      Specified by:
      retryJob in interface JobController
    • graphJobSteps

      @RequestMapping(value="/graph/{id}", method=GET) public org.springframework.http.ResponseEntity<RestJobGraph> graphJobSteps(@PathVariable String id, @RequestHeader org.springframework.http.HttpHeaders httpHeaders)
      Dependencies of all job steps of job
      Specified by:
      graphJobSteps in interface JobController