@Internal
public interface RepositoryStoredSpecsService
| Modifier and Type | Method and Description |
|---|---|
void |
cleanUnfinishedSpecsScans()
Clean up all stale Specs scan states
|
void |
reportSpecsScanError(VcsLocationBambooSpecsState vcsLocationBambooSpecsState,
String errorMessages,
List<CommitContext> commits)
Record failed specs scan.
|
void |
runBambooSpecs(SpecsConsumer specsConsumer,
VcsRepositoryModuleDescriptor vcsRepositoryModuleDescriptor,
VcsRepositoryData repository,
VcsBranch vcsBranch,
VcsLocationBambooSpecsState specsState,
List<CommitContext> commits)
Execute Bamboo Specs and import results
|
void runBambooSpecs(@NotNull
SpecsConsumer specsConsumer,
@NotNull
VcsRepositoryModuleDescriptor vcsRepositoryModuleDescriptor,
@NotNull
VcsRepositoryData repository,
@NotNull
VcsBranch vcsBranch,
@NotNull
VcsLocationBambooSpecsState specsState,
@NotNull
List<CommitContext> commits)
throws RepositoryException,
IOException
specsConsumer - consumer used to import execution resultsvcsRepositoryModuleDescriptor - repository modulerepository - repository to checkoutvcsBranch - vcs branch to checkoutspecsState - specs state for current executioncommits - a list of commits related to Bamboo Specs, which occurred since last executionRepositoryExceptionIOExceptionvoid cleanUnfinishedSpecsScans()
void reportSpecsScanError(@NotNull
VcsLocationBambooSpecsState vcsLocationBambooSpecsState,
@NotNull
String errorMessages,
@NotNull
List<CommitContext> commits)
Copyright © 2020 Atlassian Software Systems Pty Ltd. All rights reserved.