public interface ProcessesApi
| Modifier and Type | Method and Description |
|---|---|
org.springframework.http.ResponseEntity<?> |
execute(Execute body,
String processId) |
String |
getExecuteForm(String processId,
org.springframework.ui.Model model) |
org.springframework.http.ResponseEntity<?> |
getJobList(String processId) |
Process |
getProcessDescription(String id) |
ProcessCollection |
getProcesses() |
org.springframework.http.ResponseEntity<?> |
getResult(String id,
String jobId) |
StatusInfo |
getStatus(String processId,
String jobId) |
static final String BASE_URL
@PostMapping(value="/rest/processes/{processId}/jobs",
produces="application/json",
consumes="application/json")
org.springframework.http.ResponseEntity<?> execute(@RequestBody
Execute body,
@PathVariable(value="processId")
String processId)
throws EngineException,
ExecutionException
EngineExceptionExecutionException@GetMapping(value="/rest/processes/{processId}/jobs",
produces="application/json")
org.springframework.http.ResponseEntity<?> getJobList(@PathVariable(value="processId")
String processId)
@GetMapping(value="/rest/processes/{processId}/jobs",
produces="text/html")
String getExecuteForm(@PathVariable(value="processId")
String processId,
org.springframework.ui.Model model)
@GetMapping(value="/rest/processes/{processId:.+}",
produces="application/json")
@ResponseBody
Process getProcessDescription(@PathVariable(value="processId")
String id)
throws ProcessNotFoundException
ProcessNotFoundException@GetMapping(value="/rest/processes",
produces="application/json")
@ResponseBody
ProcessCollection getProcesses()
@GetMapping(value="/rest/processes/{processId}/jobs/{jobId}/results",
produces="application/json")
org.springframework.http.ResponseEntity<?> getResult(@PathVariable(value="processId")
String id,
@PathVariable(value="jobId")
String jobId)
throws EngineException,
ExecutionException
EngineExceptionExecutionException@GetMapping(value="/rest/processes/{processId}/jobs/{jobId}",
produces="application/json")
@ResponseBody
StatusInfo getStatus(@PathVariable(value="processId")
String processId,
@PathVariable(value="jobId")
String jobId)
throws EngineException
EngineExceptionCopyright © 2016–2020 52°North Initiative for Geospatial Open Source Software GmbH. All rights reserved.