@Controller @Configurable public final class ProcessesApiImpl extends Object implements ProcessesApi
BASE_URL| Constructor and Description |
|---|
ProcessesApiImpl() |
| Modifier and Type | Method and Description |
|---|---|
org.springframework.http.ResponseEntity<?> |
execute(Execute body,
String id) |
String |
getExecuteForm(String id,
org.springframework.ui.Model model) |
org.springframework.http.ResponseEntity<?> |
getJobList(String id) |
Process |
getProcessDescription(String id) |
ProcessCollection |
getProcesses() |
org.springframework.http.ResponseEntity<?> |
getResult(String processID,
String jobID) |
StatusInfo |
getStatus(String processId,
String jobID) |
org.springframework.http.ResponseEntity<?> |
handleException(RuntimeException e) |
void |
setContext(javax.servlet.ServletContext context) |
void |
setEngine(Engine engine) |
void |
setExceptionSerializer(ExceptionSerializer exceptionSerializer) |
void |
setExecuteDeserializer(ExecuteDeserializer executeDeserializer) |
void |
setIsJobListEnabled(Boolean isJobListEnabled) |
void |
setProcessSerializer(ProcessSerializer processSerializer) |
void |
setRequest(javax.servlet.http.HttpServletRequest request) |
void |
setResultSerializer(ResultSerializer resultSerializer) |
void |
setServiceURL(URI serviceURL) |
void |
setStatusInfoSerializer(StatusInfoSerializer statusInfoSerializer) |
@Autowired public void setRequest(javax.servlet.http.HttpServletRequest request)
@Autowired public void setContext(javax.servlet.ServletContext context)
@Autowired public void setEngine(Engine engine)
@Autowired public void setExceptionSerializer(ExceptionSerializer exceptionSerializer)
@Autowired public void setProcessSerializer(ProcessSerializer processSerializer)
@Autowired public void setExecuteDeserializer(ExecuteDeserializer executeDeserializer)
@Autowired public void setResultSerializer(ResultSerializer resultSerializer)
@Autowired public void setStatusInfoSerializer(StatusInfoSerializer statusInfoSerializer)
@Setting(value="service.serviceURL") public void setServiceURL(URI serviceURL)
@ExceptionHandler(value=java.lang.RuntimeException.class) public org.springframework.http.ResponseEntity<?> handleException(RuntimeException e)
@Setting(value="rest.enable.joblist.extension") public void setIsJobListEnabled(Boolean isJobListEnabled)
public org.springframework.http.ResponseEntity<?> execute(Execute body, String id) throws EngineException, ExecutionException
execute in interface ProcessesApiEngineExceptionExecutionExceptionpublic org.springframework.http.ResponseEntity<?> getJobList(String id)
getJobList in interface ProcessesApipublic String getExecuteForm(String id, org.springframework.ui.Model model)
getExecuteForm in interface ProcessesApipublic Process getProcessDescription(String id) throws ProcessNotFoundException
getProcessDescription in interface ProcessesApiProcessNotFoundExceptionpublic ProcessCollection getProcesses()
getProcesses in interface ProcessesApipublic org.springframework.http.ResponseEntity<?> getResult(String processID, String jobID) throws EngineException, ExecutionException
getResult in interface ProcessesApiEngineExceptionExecutionExceptionpublic StatusInfo getStatus(String processId, String jobID) throws EngineException
getStatus in interface ProcessesApiEngineExceptionCopyright © 2016–2020 52°North Initiative for Geospatial Open Source Software GmbH. All rights reserved.