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