Class YamlSpecsImportServiceImpl

    • Constructor Detail

      • YamlSpecsImportServiceImpl

        public YamlSpecsImportServiceImpl()
    • Method Detail

      • processSimplifiedYaml

        public boolean processSimplifiedYaml​(@NotNull
                                             @NotNull SpecsConsumer specsConsumer,
                                             @NotNull
                                             @NotNull VcsRepositoryData repository,
                                             @NotNull
                                             @NotNull VcsBambooSpecsSource specsSource,
                                             @NotNull
                                             @NotNull Path yamlFile,
                                             @NotNull
                                             @NotNull Path workingDir,
                                             @NotNull
                                             @NotNull RssPermissions rssPermissions,
                                             @NotNull
                                             @NotNull List<CommitContext> commits,
                                             @NotNull
                                             @NotNull RssExecutionOutputHandler stdout,
                                             @NotNull
                                             @NotNull String logFilename)
                                      throws IOException
        Description copied from interface: YamlSpecsImportService
        Import configuration from Yaml Specs
        Specified by:
        processSimplifiedYaml in interface YamlSpecsImportService
        Parameters:
        specsConsumer - consumer used to import configuration from Yaml Specs
        repository - repository from which specs have been checked out
        specsSource - specs state for current execution
        yamlFile - YAML file which contain root documents of Yaml Specs
        workingDir - repository working directory
        rssPermissions - rss permissions for repository
        commits - a list of commits related to Bamboo Specs, which occurred since last execution
        stdout - output handler for logging execution information
        logFilename - name of the log file
        Returns:
        true if Specs have been successfully imported, false otherwise
        Throws:
        IOException