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