public class RepositoryStoredSpecsResultHelperImpl extends Object implements RepositoryStoredSpecsResultHelper
Constructor and Description |
---|
RepositoryStoredSpecsResultHelperImpl() |
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 |
@NotNull 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 |
public RepositoryStoredSpecsResultHelperImpl()
public 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)
RepositoryStoredSpecsResultHelper
plans
and disable themcreateSpecResultAndDisablePlans
in interface RepositoryStoredSpecsResultHelper
public void 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)
RepositoryStoredSpecsResultHelper
RssErrorEvent
publishRssErrorEvent
in interface RepositoryStoredSpecsResultHelper
@NotNull public @NotNull BuildChanges getBuildChanges(@NotNull @NotNull VcsRepositoryData repositoryData, @NotNull @NotNull List<CommitContext> commits)
RepositoryStoredSpecsResultHelper
getBuildChanges
in interface RepositoryStoredSpecsResultHelper
public void appendHelpMessageToLog(@NotNull @NotNull com.atlassian.utils.process.OutputHandler stdout)
RepositoryStoredSpecsResultHelper
appendHelpMessageToLog
in interface RepositoryStoredSpecsResultHelper
Copyright © 2022 Atlassian Software Systems Pty Ltd. All rights reserved.