public abstract class AbstractBuildStatusUpdater extends Object
Constructor and Description |
---|
AbstractBuildStatusUpdater(CachedPlanManager cachedPlanManager,
ResultsSummaryManager resultsSummaryManager) |
Modifier and Type | Method and Description |
---|---|
protected static List<String> |
getRelevantChangesetIds(ImmutableResultsSummary resultsSummary,
Predicate<RepositoryChangeset> isRelevantPredicate) |
protected void |
handleEvent(PlanResultEvent event) |
protected abstract boolean |
isBuildStatusHandlingEnabled() |
void |
onChainCompletedEvent(ChainCompletedEvent event) |
protected abstract void |
send(PlanResultEvent event,
ImmutablePlan plan,
ImmutableResultsSummary resultsSummary) |
public AbstractBuildStatusUpdater(CachedPlanManager cachedPlanManager, ResultsSummaryManager resultsSummaryManager)
@EventListener public void onChainCompletedEvent(@NotNull ChainCompletedEvent event)
protected void handleEvent(PlanResultEvent event)
@NotNull protected static List<String> getRelevantChangesetIds(@NotNull ImmutableResultsSummary resultsSummary, @NotNull Predicate<RepositoryChangeset> isRelevantPredicate)
protected abstract boolean isBuildStatusHandlingEnabled()
protected abstract void send(@NotNull PlanResultEvent event, @NotNull ImmutablePlan plan, @NotNull ImmutableResultsSummary resultsSummary)
Copyright © 2019 Atlassian Software Systems Pty Ltd. All rights reserved.