Class JavaSpecsImportServiceImpl
java.lang.Object
com.atlassian.bamboo.configuration.external.rss.JavaSpecsImportServiceImpl
- All Implemented Interfaces:
JavaSpecsImportService
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
processSpecs
(@NotNull SpecsConsumer specsConsumer, @NotNull VcsRepositoryData repository, @NotNull VcsBambooSpecsSource specsSource, @NotNull Path workingDir, @NotNull Path specsDir, @NotNull RssSecurityConfiguration rssSecurityConfiguration, @NotNull RssPermissions rssPermissions, @NotNull List<CommitContext> commits, @NotNull RssExecutionOutputHandler stdout, @NotNull String logFilename) Execute Java Specs and import results
-
Constructor Details
-
JavaSpecsImportServiceImpl
public JavaSpecsImportServiceImpl()
-
-
Method Details
-
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 interfaceJavaSpecsImportService
- 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
-