public class OutputStageService extends AbstractService
AbstractService.OutputStreamResponseExtractor| Modifier and Type | Field and Description |
|---|---|
protected static org.springframework.web.util.UriTemplate |
OUTPUT_STAGE_TEMPLATE |
mapper, restTemplate| Constructor and Description |
|---|
OutputStageService(org.springframework.web.client.RestTemplate restTemplate,
GoodDataSettings settings)
Sets RESTful HTTP Spring template.
|
| Modifier and Type | Method and Description |
|---|---|
OutputStage |
getOutputStage(Project project)
Get output stage by given project.
|
OutputStage |
getOutputStageByUri(String uri)
Get output stage by given URI.
|
OutputStage |
updateOutputStage(OutputStage outputStage)
Update output stage.
|
extractDataprotected static final org.springframework.web.util.UriTemplate OUTPUT_STAGE_TEMPLATE
public OutputStageService(org.springframework.web.client.RestTemplate restTemplate,
GoodDataSettings settings)
restTemplate - RESTful HTTP Spring templatesettings - settingspublic OutputStage getOutputStageByUri(String uri)
uri - output stage uriProcessNotFoundException - when the process doesn't existpublic OutputStage getOutputStage(Project project)
project - project to which the process belongsProcessNotFoundException - when the process doesn't existpublic OutputStage updateOutputStage(OutputStage outputStage)
outputStage - output stageCopyright © 2019. All rights reserved.