Class OutputStageService


  • public class OutputStageService
    extends AbstractService
    Service to manage output stage.
    • Constructor Detail

      • OutputStageService

        public OutputStageService​(org.springframework.web.client.RestTemplate restTemplate,
                                  GoodDataSettings settings)
        Sets RESTful HTTP Spring template. Should be called from constructor of concrete service extending this abstract one.
        Parameters:
        restTemplate - RESTful HTTP Spring template
        settings - settings
      • OutputStageService

        @Deprecated
        public OutputStageService​(org.springframework.web.client.RestTemplate restTemplate)
        Deprecated.
        use OutputStageService(RestTemplate, GoodDataSettings) constructor instead
        Sets RESTful HTTP Spring template. Should be called from constructor of concrete service extending this abstract one.
        Parameters:
        restTemplate - RESTful HTTP Spring template
    • Method Detail

      • getOutputStageByUri

        public OutputStage getOutputStageByUri​(String uri)
        Get output stage by given URI.
        Parameters:
        uri - output stage uri
        Returns:
        output stage object
        Throws:
        ProcessNotFoundException - when the process doesn't exist
      • getOutputStage

        public OutputStage getOutputStage​(Project project)
        Get output stage by given project.
        Parameters:
        project - project to which the process belongs
        Returns:
        output stage
        Throws:
        ProcessNotFoundException - when the process doesn't exist
      • updateOutputStage

        public OutputStage updateOutputStage​(OutputStage outputStage)
        Update output stage.
        Parameters:
        outputStage - output stage
        Returns:
        updated output stage