Interface JavaSpecsImportService
- All Known Implementing Classes:
JavaSpecsImportServiceImpl
public interface JavaSpecsImportService
Service for running Java Specs and importing results
-
Method Summary
Modifier and TypeMethodDescriptionboolean
processSpecs
(SpecsConsumer specsConsumer, VcsRepositoryData repository, VcsBambooSpecsSource specsSource, Path workingDir, Path specsDir, RssSecurityConfiguration rssSecurityConfiguration, RssPermissions rssPermissions, List<CommitContext> commits, RssExecutionOutputHandler stdout, String logFilename) Execute Java Specs and import results
-
Method Details
-
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 resultsrepository
- repository from which specs have been checked outspecsSource
- specs state for current executionworkingDir
- folder for placing generated internal yamlspecsDir
- checked out directory in which Specs are locatedrssSecurityConfiguration
- Repository Stored Specs security configurationrssPermissions
- rss permissions forrepository
commits
- a list of commits related to Bamboo Specs, which occurred since last executionstdout
- output handler for logging execution information- Returns:
- true if Specs have been successfully imported, false otherwise
- Throws:
IOException
-