Package de.dlr.proseo.model.rest
Klasse JobControllerDecorator
java.lang.Object
de.dlr.proseo.model.rest.JobControllerDecorator
- Alle implementierten Schnittstellen:
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)
-
Konstruktorübersicht
Konstruktoren -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungorg.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
-
Konstruktordetails
-
JobControllerDecorator
public JobControllerDecorator()
-
-
Methodendetails
-
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- Angegeben von:
getJobs
in SchnittstelleJobController
-
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- Angegeben von:
countJobs
in SchnittstelleJobController
-
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- Angegeben von:
getJob
in SchnittstelleJobController
-
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- Angegeben von:
resumeJob
in SchnittstelleJobController
-
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- Angegeben von:
cancelJob
in SchnittstelleJobController
-
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- Angegeben von:
suspendJob
in SchnittstelleJobController
-
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- Angegeben von:
retryJob
in SchnittstelleJobController
-
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- Angegeben von:
graphJobSteps
in SchnittstelleJobController
-