Interface RepositoryStoredSpecsResultHelper
- All Known Implementing Classes:
RepositoryStoredSpecsResultHelperImpl
public interface RepositoryStoredSpecsResultHelper
-
Method Summary
Modifier and TypeMethodDescriptionvoid
appendHelpMessageToLog
(@NotNull com.atlassian.utils.process.OutputHandler stdout) Append help message to specs execution logcreateSpecResultAndDisablePlans
(@NotNull Collection<PlanKey> plans, @NotNull VcsRepositoryData repositoryData, @NotNull List<CommitContext> commits, @NotNull RssPermissions rssPermissions, boolean specsExecutionSuccessful, @NotNull VcsLocationBambooSpecsState bambooSpecsState) Creates specs execution results for givenplans
and disable themgetBuildChanges
(@NotNull VcsRepositoryData repositoryData, @NotNull List<CommitContext> commits) Get repository changes for Specs execution resultvoid
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 publishesRssErrorEvent
-
Method Details
-
createSpecResultAndDisablePlans
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) Creates specs execution results for givenplans
and disable them -
publishRssErrorEvent
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) Handles specs execution error: creates specs result for remaining plans and publishesRssErrorEvent
-
getBuildChanges
BuildChanges getBuildChanges(@NotNull @NotNull VcsRepositoryData repositoryData, @NotNull @NotNull List<CommitContext> commits) Get repository changes for Specs execution result -
appendHelpMessageToLog
void appendHelpMessageToLog(@NotNull @NotNull com.atlassian.utils.process.OutputHandler stdout) Append help message to specs execution log
-