public interface RepositoryStoredSpecsLogService
Modifier and Type | Interface and Description |
---|---|
static interface |
RepositoryStoredSpecsLogService.RepositoryStoredSpecsLogAccessor |
Modifier and Type | Method and Description |
---|---|
Path |
createBambooSpecLogFile(long repositoryId,
String logFilename)
Create log file for Bamboo Specs execution.
|
String |
generateFileName(List<? extends CommitContext> commits)
Generate log file name
|
String |
generateSpecsLogsUrl(long repositoryId,
String logFilename,
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 bambooSpecsState) |
String |
getChangeSetForFilename(List<? extends CommitContext> commits) |
String generateFileName(@NotNull List<? extends CommitContext> commits)
commits
- associated with Bamboo Specs processingPath createBambooSpecLogFile(long repositoryId, @NotNull String logFilename) throws IOException
repositoryId
- root repository idlogFilename
- log file nameIOException
- if can't create Bamboo Specs log folder@Nullable RepositoryStoredSpecsLogService.RepositoryStoredSpecsLogAccessor getBambooSpecsExecutionLogAccessor(@NotNull PlanResultKey planResultKey)
planResultKey
- result key@Nullable Path getBambooSpecsExecutionLogFile(@NotNull PlanResultKey planResultKey) throws IllegalStateException
planResultKey
- result keyIllegalStateException
- if plan result doesn't have associated commits@Nullable Path getBambooSpecsExecutionLogFile(long repositoryId, @NotNull String changesetId)
repositoryId
- id of Bamboo repositorychangesetId
- changeset id@Nullable Path getBambooSpecsExecutionLogFile(@NotNull VcsLocationBambooSpecsState bambooSpecsState)
@NotNull String getChangeSetForFilename(@NotNull List<? extends CommitContext> commits)
Copyright © 2020 Atlassian Software Systems Pty Ltd. All rights reserved.