Package de.dlr.proseo.model.rest
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 -
Method Summary
Modifier and TypeMethodDescriptionorg.springframework.http.ResponseEntity<RestJob> Cancel job of idorg.springframework.http.ResponseEntity<?> Get number of jobs, possibly filtered by state and processing orderorg.springframework.http.ResponseEntity<RestJob> Get production planner jobgetJobs(String state, Long orderid, Long recordFrom, Long recordTo, Boolean logs, String[] orderBy, org.springframework.http.HttpHeaders httpHeaders) Get production planner jobs by stateorg.springframework.http.ResponseEntity<RestJobGraph> graphJobSteps(String id, org.springframework.http.HttpHeaders httpHeaders) Dependencies of all job steps of joborg.springframework.http.ResponseEntity<RestJob> Resume job of idorg.springframework.http.ResponseEntity<RestJob> Retry job of idorg.springframework.http.ResponseEntity<RestJob> suspendJob(String id, Boolean force, org.springframework.http.HttpHeaders httpHeaders) Suspend job of id
-
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:
getJobsin interfaceJobController
-
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:
countJobsin interfaceJobController
-
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:
getJobin interfaceJobController
-
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:
resumeJobin interfaceJobController
-
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:
cancelJobin interfaceJobController
-
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:
suspendJobin interfaceJobController
-
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:
retryJobin interfaceJobController
-
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:
graphJobStepsin interfaceJobController
-