Class BitbucketServerBuildStatusUpdater
- java.lang.Object
-
- com.atlassian.bamboo.build.status.AbstractBuildStatusUpdater
-
- com.atlassian.bamboo.plugins.stash.BitbucketServerBuildStatusUpdater
-
public class BitbucketServerBuildStatusUpdater extends AbstractBuildStatusUpdater
-
-
Constructor Summary
Constructors Constructor Description BitbucketServerBuildStatusUpdater(CachedPlanManager cachedPlanManager, ResultsSummaryManager resultsSummaryManager, AdministrationConfigurationAccessor administrationConfigurationAccessor, ErrorHandler errorHandler, com.atlassian.event.api.EventPublisher eventPublisher, FeatureManager featureManager, com.atlassian.stash.rest.client.applinks.ApplinkStashClientFactory stashClientFactory, TemplateRenderer templateRenderer, RepositoryDefinitionManager repositoryDefinitionManager)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected boolean
isBuildStatusHandlingEnabled()
protected boolean
isPlanRelevant(@NotNull ImmutableChain immutableChain)
void
onChainAbandonedEvent(@NotNull ChainAbandonedEvent event)
void
onChainStartedEvent(@NotNull ChainStartedEvent event)
protected void
send(@NotNull PlanResultEvent event, @NotNull ImmutablePlan plan, @NotNull ImmutableResultsSummary resultsSummary)
-
Methods inherited from class com.atlassian.bamboo.build.status.AbstractBuildStatusUpdater
getRelevantChangesetIds, handleEvent, onChainCompletedEvent
-
-
-
-
Constructor Detail
-
BitbucketServerBuildStatusUpdater
@Autowired public BitbucketServerBuildStatusUpdater(CachedPlanManager cachedPlanManager, ResultsSummaryManager resultsSummaryManager, AdministrationConfigurationAccessor administrationConfigurationAccessor, ErrorHandler errorHandler, com.atlassian.event.api.EventPublisher eventPublisher, FeatureManager featureManager, com.atlassian.stash.rest.client.applinks.ApplinkStashClientFactory stashClientFactory, TemplateRenderer templateRenderer, RepositoryDefinitionManager repositoryDefinitionManager)
-
-
Method Detail
-
onChainStartedEvent
@EventListener public void onChainStartedEvent(@NotNull @NotNull ChainStartedEvent event)
-
onChainAbandonedEvent
@EventListener public void onChainAbandonedEvent(@NotNull @NotNull ChainAbandonedEvent event)
-
send
protected void send(@NotNull @NotNull PlanResultEvent event, @NotNull @NotNull ImmutablePlan plan, @NotNull @NotNull ImmutableResultsSummary resultsSummary)
- Specified by:
send
in classAbstractBuildStatusUpdater
-
isPlanRelevant
protected boolean isPlanRelevant(@NotNull @NotNull ImmutableChain immutableChain)
- Specified by:
isPlanRelevant
in classAbstractBuildStatusUpdater
-
isBuildStatusHandlingEnabled
protected boolean isBuildStatusHandlingEnabled()
- Specified by:
isBuildStatusHandlingEnabled
in classAbstractBuildStatusUpdater
-
-