Interface JavaSpecsImportService

  • All Known Implementing Classes:
    JavaSpecsImportServiceImpl

    public interface JavaSpecsImportService
    Service for running Java Specs and importing results
    • Method Detail

      • processSpecs

        boolean processSpecs​(SpecsConsumer specsConsumer,
                             VcsRepositoryData repository,
                             VcsBambooSpecsSource specsSource,
                             Path workingDir,
                             Path specsDir,
                             RssSecurityConfiguration rssSecurityConfiguration,
                             RssPermissions rssPermissions,
                             List<CommitContext> commits,
                             RssExecutionOutputHandler stdout,
                             String logFilename)
                      throws IOException
        Execute Java Specs and import results
        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