public interface RepositoryStoredSpecsLogService
Modifier and Type | Interface and Description |
---|---|
static interface |
RepositoryStoredSpecsLogService.RepositoryStoredSpecsLogAccessor |
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 bambooSpecsState) |
String |
getChangeSetForFilename(List<? extends CommitContext> commits) |
Path createBambooSpecLogFile(long repositoryId, @NotNull List<CommitContext> commits) throws IOException
repositoryId
- root repository idcommits
- associated with Bamboo Specs processingIOException
- 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)
String generateSpecsLogsUrl(long repositoryId, List<CommitContext> commits, @Nullable String referrer)
Copyright © 2019 Atlassian Software Systems Pty Ltd. All rights reserved.