Class JavaSpecsImportServiceImpl

    • Constructor Detail

      • JavaSpecsImportServiceImpl

        public JavaSpecsImportServiceImpl()
    • Method Detail

      • processSpecs

        public boolean processSpecs​(@NotNull
                                    @NotNull SpecsConsumer specsConsumer,
                                    @NotNull
                                    @NotNull VcsRepositoryData repository,
                                    @NotNull
                                    @NotNull VcsBambooSpecsSource specsSource,
                                    @NotNull
                                    @NotNull Path workingDir,
                                    @NotNull
                                    @NotNull Path specsDir,
                                    @NotNull
                                    @NotNull RssSecurityConfiguration rssSecurityConfiguration,
                                    @NotNull
                                    @NotNull RssPermissions rssPermissions,
                                    @NotNull
                                    @NotNull List<CommitContext> commits,
                                    @NotNull
                                    @NotNull RssExecutionOutputHandler stdout,
                                    @NotNull
                                    @NotNull String logFilename)
                             throws IOException
        Description copied from interface: JavaSpecsImportService
        Execute Java Specs and import results
        Specified by:
        processSpecs in interface JavaSpecsImportService
        Parameters:
        specsConsumer - consumer used to import execution results
        repository - repository from which specs have been checked out
        specsSource - specs state for current execution
        workingDir - folder for placing generated internal yaml
        specsDir - checked out directory in which Specs are located
        rssSecurityConfiguration - Repository Stored Specs security configuration
        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
        Returns:
        true if Specs have been successfully imported, false otherwise
        Throws:
        IOException