public class RepositoryStoredSpecsLogServiceImpl extends Object implements RepositoryStoredSpecsLogService
RepositoryStoredSpecsLogService.RepositoryStoredSpecsLogAccessor
Constructor and Description |
---|
RepositoryStoredSpecsLogServiceImpl(BootstrapManager bootstrapManager,
ResultsSummaryManager resultsManager) |
Modifier and Type | Method and Description |
---|---|
Path |
createBambooSpecLogFile(long repositoryId,
List<CommitContext> commits)
Create log file for Bamboo Specs execution.
|
RepositoryStoredSpecsLogService.RepositoryStoredSpecsLogAccessor |
getBambooSpecsExecutionLogAccessor(PlanResultKey planResultKey)
Provides log file accessor for build result.
|
Path |
getBambooSpecsExecutionLogFile(long repositoryId,
String changesetId) |
Path |
getBambooSpecsExecutionLogFile(PlanResultKey planResultKey) |
String |
getChangeSetForFilename(List<? extends CommitContext> commits) |
public RepositoryStoredSpecsLogServiceImpl(BootstrapManager bootstrapManager, ResultsSummaryManager resultsManager)
public Path createBambooSpecLogFile(long repositoryId, @NotNull List<CommitContext> commits) throws IOException
RepositoryStoredSpecsLogService
createBambooSpecLogFile
in interface RepositoryStoredSpecsLogService
repositoryId
- root repository idcommits
- associated with Bamboo Specs processingIOException
- if can't create Bamboo Specs log folder@Nullable public RepositoryStoredSpecsLogService.RepositoryStoredSpecsLogAccessor getBambooSpecsExecutionLogAccessor(@NotNull PlanResultKey planResultKey) throws IllegalStateException
RepositoryStoredSpecsLogService
getBambooSpecsExecutionLogAccessor
in interface RepositoryStoredSpecsLogService
planResultKey
- result keyIllegalStateException
@Nullable public Path getBambooSpecsExecutionLogFile(@NotNull PlanResultKey planResultKey)
getBambooSpecsExecutionLogFile
in interface RepositoryStoredSpecsLogService
planResultKey
- result key@Nullable public Path getBambooSpecsExecutionLogFile(long repositoryId, @NotNull String changesetId)
getBambooSpecsExecutionLogFile
in interface RepositoryStoredSpecsLogService
repositoryId
- id of Bamboo repositorychangesetId
- changeset id@NotNull public String getChangeSetForFilename(@NotNull List<? extends CommitContext> commits)
getChangeSetForFilename
in interface RepositoryStoredSpecsLogService
Copyright © 2018 Atlassian Software Systems Pty Ltd. All rights reserved.