public class RepositoryStoredSpecsLogServiceImpl extends Object implements RepositoryStoredSpecsLogService
RepositoryStoredSpecsLogService.RepositoryStoredSpecsLogAccessor
Constructor and Description |
---|
RepositoryStoredSpecsLogServiceImpl(BootstrapManager bootstrapManager,
ResultsSummaryManager resultsManager,
BambooSpecsStateDao bambooSpecsStateDao) |
Modifier and Type | Method and Description |
---|---|
Path |
createBambooSpecLogFile(long repositoryId,
List<CommitContext> commits)
Create log file for Bamboo Specs execution.
|
String |
generateSpecsLogsUrl(long repositoryId,
List<CommitContext> commits,
String referrer) |
RepositoryStoredSpecsLogService.RepositoryStoredSpecsLogAccessor |
getBambooSpecsExecutionLogAccessor(PlanResultKey planResultKey)
Provides log file accessor for build result.
|
Path |
getBambooSpecsExecutionLogFile(long repositoryId,
String changesetId) |
Path |
getBambooSpecsExecutionLogFile(PlanResultKey planResultKey) |
Path |
getBambooSpecsExecutionLogFile(VcsLocationBambooSpecsState specsState) |
String |
getChangeSetForFilename(List<? extends CommitContext> commits) |
public RepositoryStoredSpecsLogServiceImpl(BootstrapManager bootstrapManager, ResultsSummaryManager resultsManager, BambooSpecsStateDao bambooSpecsStateDao)
public Path createBambooSpecLogFile(long repositoryId, @NotNull List<CommitContext> commits)
RepositoryStoredSpecsLogService
createBambooSpecLogFile
in interface RepositoryStoredSpecsLogService
repositoryId
- root repository idcommits
- associated with Bamboo Specs processing@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@Nullable public Path getBambooSpecsExecutionLogFile(@NotNull VcsLocationBambooSpecsState specsState)
getBambooSpecsExecutionLogFile
in interface RepositoryStoredSpecsLogService
@NotNull public String getChangeSetForFilename(@NotNull List<? extends CommitContext> commits)
getChangeSetForFilename
in interface RepositoryStoredSpecsLogService
public String generateSpecsLogsUrl(long repositoryId, List<CommitContext> commits, @Nullable String referrer)
generateSpecsLogsUrl
in interface RepositoryStoredSpecsLogService
Copyright © 2019 Atlassian Software Systems Pty Ltd. All rights reserved.