public interface RepositoryStoredSpecsResultHelper
Modifier and Type | Method and Description |
---|---|
void |
appendHelpMessageToLog(@NotNull com.atlassian.utils.process.OutputHandler stdout)
Append help message to specs execution log
|
List<RssAffectedPlan> |
createSpecResultAndDisablePlans(@NotNull Collection<PlanKey> plans,
@NotNull VcsRepositoryData repositoryData,
@NotNull List<CommitContext> commits,
@NotNull RssPermissions rssPermissions,
boolean specsExecutionSuccessful,
@NotNull VcsLocationBambooSpecsState bambooSpecsState)
Creates specs execution results for given
plans and disable them |
BuildChanges |
getBuildChanges(@NotNull VcsRepositoryData repositoryData,
@NotNull List<CommitContext> commits)
Get repository changes for Specs execution result
|
void |
publishRssErrorEvent(@NotNull VcsRepositoryData vcsRepositoryData,
@NotNull List<CommitContext> commits,
@NotNull VcsBambooSpecsSource specsSource,
@NotNull RssPermissions rssPermissions,
@NotNull Throwable throwable,
@NotNull Map<String,RssAffectedPlan> affectedPlans,
@NotNull Collection<PlanKey> notUpdatedPlans,
@NotNull Collection<Long> notUpdatedDeploymentProjects,
@NotNull String logFilename)
Handles specs execution error: creates specs result for remaining plans and publishes
RssErrorEvent |
List<RssAffectedPlan> createSpecResultAndDisablePlans(@NotNull @NotNull Collection<PlanKey> plans, @NotNull @NotNull VcsRepositoryData repositoryData, @NotNull @NotNull List<CommitContext> commits, @NotNull @NotNull RssPermissions rssPermissions, boolean specsExecutionSuccessful, @NotNull @NotNull VcsLocationBambooSpecsState bambooSpecsState)
plans
and disable themvoid publishRssErrorEvent(@NotNull @NotNull VcsRepositoryData vcsRepositoryData, @NotNull @NotNull List<CommitContext> commits, @NotNull @NotNull VcsBambooSpecsSource specsSource, @NotNull @NotNull RssPermissions rssPermissions, @NotNull @NotNull Throwable throwable, @NotNull @NotNull Map<String,RssAffectedPlan> affectedPlans, @NotNull @NotNull Collection<PlanKey> notUpdatedPlans, @NotNull @NotNull Collection<Long> notUpdatedDeploymentProjects, @NotNull @NotNull String logFilename)
RssErrorEvent
BuildChanges getBuildChanges(@NotNull @NotNull VcsRepositoryData repositoryData, @NotNull @NotNull List<CommitContext> commits)
void appendHelpMessageToLog(@NotNull @NotNull com.atlassian.utils.process.OutputHandler stdout)
Copyright © 2022 Atlassian Software Systems Pty Ltd. All rights reserved.