Class RepositoryStoredSpecsResultHelperImpl
- java.lang.Object
-
- com.atlassian.bamboo.configuration.external.rss.RepositoryStoredSpecsResultHelperImpl
-
- All Implemented Interfaces:
RepositoryStoredSpecsResultHelper
public class RepositoryStoredSpecsResultHelperImpl extends Object implements RepositoryStoredSpecsResultHelper
-
-
Constructor Summary
Constructors Constructor Description RepositoryStoredSpecsResultHelperImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
appendHelpMessageToLog(@NotNull com.atlassian.utils.process.OutputHandler stdout)
Append help message to specs execution logList<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 givenplans
and disable them@NotNull BuildChanges
getBuildChanges(@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 Detail
-
createSpecResultAndDisablePlans
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)
Description copied from interface:RepositoryStoredSpecsResultHelper
Creates specs execution results for givenplans
and disable them- Specified by:
createSpecResultAndDisablePlans
in interfaceRepositoryStoredSpecsResultHelper
-
publishRssErrorEvent
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)
Description copied from interface:RepositoryStoredSpecsResultHelper
Handles specs execution error: creates specs result for remaining plans and publishesRssErrorEvent
- Specified by:
publishRssErrorEvent
in interfaceRepositoryStoredSpecsResultHelper
-
getBuildChanges
@NotNull public @NotNull BuildChanges getBuildChanges(@NotNull @NotNull VcsRepositoryData repositoryData, @NotNull @NotNull List<CommitContext> commits)
Description copied from interface:RepositoryStoredSpecsResultHelper
Get repository changes for Specs execution result- Specified by:
getBuildChanges
in interfaceRepositoryStoredSpecsResultHelper
-
appendHelpMessageToLog
public void appendHelpMessageToLog(@NotNull @NotNull com.atlassian.utils.process.OutputHandler stdout)
Description copied from interface:RepositoryStoredSpecsResultHelper
Append help message to specs execution log- Specified by:
appendHelpMessageToLog
in interfaceRepositoryStoredSpecsResultHelper
-
-