Class AbstractBuildStatusUpdater
java.lang.Object
com.atlassian.bamboo.build.status.AbstractBuildStatusUpdater
- Direct Known Subclasses:
BitbucketBuildStatusUpdater
,BitbucketServerBuildStatusUpdater
,GithubBuildStatusUpdater
An listener that sends notifications containing build status after builds are completed.
-
Constructor Summary
ConstructorDescriptionAbstractBuildStatusUpdater
(CachedPlanManager cachedPlanManager, ResultsSummaryManager resultsSummaryManager) -
Method Summary
Modifier and TypeMethodDescriptiongetRelevantChangesetIds
(@NotNull ImmutableResultsSummary resultsSummary, @NotNull Predicate<RepositoryChangeset> isRelevantPredicate) protected void
handleEvent
(PlanResultEvent event) protected abstract boolean
protected abstract boolean
isPlanRelevant
(@NotNull ImmutableChain immutableChain) void
onChainCompletedEvent
(@NotNull ChainCompletedEvent event) protected abstract void
send
(@NotNull PlanResultEvent event, @NotNull ImmutablePlan plan, @NotNull ImmutableResultsSummary resultsSummary)
-
Constructor Details
-
AbstractBuildStatusUpdater
public AbstractBuildStatusUpdater(CachedPlanManager cachedPlanManager, ResultsSummaryManager resultsSummaryManager)
-
-
Method Details
-
onChainCompletedEvent
-
handleEvent
-
getRelevantChangesetIds
@NotNull protected static @NotNull List<String> getRelevantChangesetIds(@NotNull @NotNull ImmutableResultsSummary resultsSummary, @NotNull @NotNull Predicate<RepositoryChangeset> isRelevantPredicate) -
isBuildStatusHandlingEnabled
protected abstract boolean isBuildStatusHandlingEnabled() -
send
protected abstract void send(@NotNull @NotNull PlanResultEvent event, @NotNull @NotNull ImmutablePlan plan, @NotNull @NotNull ImmutableResultsSummary resultsSummary) -
isPlanRelevant
-