Class BitbucketBuildStatusUpdater
- java.lang.Object
-
- com.atlassian.bamboo.build.status.AbstractBuildStatusUpdater
-
- com.atlassian.bamboo.plugins.bitbucket.events.BitbucketBuildStatusUpdater
-
public class BitbucketBuildStatusUpdater extends AbstractBuildStatusUpdater
-
-
Constructor Summary
Constructors Constructor Description BitbucketBuildStatusUpdater(com.atlassian.sal.api.ApplicationProperties applicationProperties, BitbucketApiService bitbucketApiService, CachedPlanManager cachedPlanManager, ResultsSummaryManager resultsSummaryManager, CredentialsAccessor credentialsAccessor)
-
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
-
BitbucketBuildStatusUpdater
public BitbucketBuildStatusUpdater(com.atlassian.sal.api.ApplicationProperties applicationProperties, BitbucketApiService bitbucketApiService, CachedPlanManager cachedPlanManager, ResultsSummaryManager resultsSummaryManager, CredentialsAccessor credentialsAccessor)
-
-
Method Detail
-
onChainStartedEvent
@EventListener public void onChainStartedEvent(@NotNull @NotNull ChainStartedEvent event)
-
onChainAbandonedEvent
@EventListener public void onChainAbandonedEvent(@NotNull @NotNull ChainAbandonedEvent event)
-
isBuildStatusHandlingEnabled
protected boolean isBuildStatusHandlingEnabled()
- Specified by:
isBuildStatusHandlingEnabled
in classAbstractBuildStatusUpdater
-
isPlanRelevant
protected boolean isPlanRelevant(@NotNull @NotNull ImmutableChain immutableChain)
- Specified by:
isPlanRelevant
in classAbstractBuildStatusUpdater
-
send
protected void send(@NotNull @NotNull PlanResultEvent event, @NotNull @NotNull ImmutablePlan plan, @NotNull @NotNull ImmutableResultsSummary resultsSummary)
- Specified by:
send
in classAbstractBuildStatusUpdater
-
-