public class ChangeDetectionListenerAction extends Object implements TriggerConditionsAwareBuildDetectionAction, ConditionalBuildDetectionAction
Constructor and Description |
---|
ChangeDetectionListenerAction(PlanKey planKey,
Set<Long> triggeringRepositories,
Map<String,String> triggerConditionsConfiguration) |
ChangeDetectionListenerAction(PlanKey planKey,
Set<Long> triggeringRepositories,
Map<String,String> triggerConditionsConfiguration,
boolean logIfNoChanges) |
public ChangeDetectionListenerAction(@NotNull PlanKey planKey, @NotNull Set<Long> triggeringRepositories, @NotNull Map<String,String> triggerConditionsConfiguration)
public io.atlassian.fugue.Pair<Boolean,ErrorCollection> testIfBuildShouldStart()
ConditionalBuildDetectionAction
BuildContext
(even though BuildDetectionResult has such field) but it should
perform all time consuming data gathering required to do so in subsequent call to ConditionalBuildDetectionAction.createBuildContext()
testIfBuildShouldStart
in interface ConditionalBuildDetectionAction
public BuildDetectionResult createBuildContext()
ConditionalBuildDetectionAction
BuildContext
. Should be as fast as possible.
If previous call to ConditionalBuildDetectionAction.testIfBuildShouldStart()
decided that the
build should start, this method is expected to produce BuildDetectionResult
containing valid BuildContext
createBuildContext
in interface ConditionalBuildDetectionAction
public Map<String,String> getTriggerConditionsConfiguration()
getTriggerConditionsConfiguration
in interface TriggerConditionsAwareBuildDetectionAction
public void setTriggerManager(TriggerManager triggerManager)
public void setErrorHandler(ErrorHandler errorHandler)
public void setChangeDetectionManager(ChangeDetectionManager changeDetectionManager)
public void setDependencyBlockingManager(DependencyBlockingManager dependencyBlockingManager)
public void setBuildLoggerManager(BuildLoggerManager buildLoggerManager)
public void setTextProvider(com.opensymphony.xwork2.TextProvider textProvider)
public void setBuildNumberGeneratorService(BuildNumberGeneratorService buildNumberGeneratorService)
public void setPlanVcsRevisionHistoryService(PlanVcsRevisionHistoryService planVcsRevisionHistoryService)
public void setImmutablePlanCacheService(ImmutablePlanCacheService immutablePlanCacheService)
public void setEventPublisher(com.atlassian.event.api.EventPublisher eventPublisher)
public void setBuildContextBuilderFactory(BuildContextBuilderFactory buildContextBuilderFactory)
Copyright © 2021 Atlassian Software Systems Pty Ltd. All rights reserved.