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,
@NotNull String logFilename)
Create log file for Bamboo Specs execution.
|
@NotNull 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 specsState) |
@NotNull String |
getChangeSetForFilename(@NotNull List<? extends CommitContext> commits) |
public RepositoryStoredSpecsLogServiceImpl(BootstrapManager bootstrapManager, ResultsSummaryManager resultsManager, BambooSpecsStateDao bambooSpecsStateDao)
public Path createBambooSpecLogFile(long repositoryId, @NotNull @NotNull String logFilename)
RepositoryStoredSpecsLogService
createBambooSpecLogFile
in interface RepositoryStoredSpecsLogService
repositoryId
- root repository idlogFilename
- log file name@Nullable public @Nullable RepositoryStoredSpecsLogService.RepositoryStoredSpecsLogAccessor getBambooSpecsExecutionLogAccessor(@NotNull @NotNull PlanResultKey planResultKey) throws IllegalStateException
RepositoryStoredSpecsLogService
getBambooSpecsExecutionLogAccessor
in interface RepositoryStoredSpecsLogService
planResultKey
- result keyIllegalStateException
@Nullable public @Nullable Path getBambooSpecsExecutionLogFile(@NotNull @NotNull PlanResultKey planResultKey)
getBambooSpecsExecutionLogFile
in interface RepositoryStoredSpecsLogService
planResultKey
- result key@Nullable public @Nullable Path getBambooSpecsExecutionLogFile(long repositoryId, @NotNull @NotNull String changesetId)
getBambooSpecsExecutionLogFile
in interface RepositoryStoredSpecsLogService
repositoryId
- id of Bamboo repositorychangesetId
- changeset id@Nullable public @Nullable Path getBambooSpecsExecutionLogFile(@NotNull @NotNull VcsLocationBambooSpecsState specsState)
getBambooSpecsExecutionLogFile
in interface RepositoryStoredSpecsLogService
@NotNull public @NotNull String generateFileName(@NotNull @NotNull List<? extends CommitContext> commits)
RepositoryStoredSpecsLogService
generateFileName
in interface RepositoryStoredSpecsLogService
commits
- associated with Bamboo Specs processing@NotNull public @NotNull String getChangeSetForFilename(@NotNull @NotNull List<? extends CommitContext> commits)
getChangeSetForFilename
in interface RepositoryStoredSpecsLogService
public String generateSpecsLogsUrl(long repositoryId, @NotNull @NotNull String logFilename, @Nullable @Nullable String referrer)
generateSpecsLogsUrl
in interface RepositoryStoredSpecsLogService
Copyright © 2022 Atlassian Software Systems Pty Ltd. All rights reserved.