public class ScheduledBuildDetectionAction extends Object implements TriggerConditionsAwareBuildDetectionAction, UnconditionalBuildDetectionAction
Constructor and Description |
---|
ScheduledBuildDetectionAction(ChangeDetectionManager changeDetectionManager,
TriggerManager triggerManager,
BuildNumberGeneratorService buildNumberGenerator,
BuildLoggerManager buildLoggerManager,
ImmutableChain chain,
Map<String,String> triggerConditionsConfiguration,
Map<String,String> triggerConfiguration,
BuildContextBuilderFactory buildContextBuilderFactory) |
Modifier and Type | Method and Description |
---|---|
BuildDetectionResult |
generateResultWithoutChanges()
Creates a result with a new number without doing change detection
|
Map<String,String> |
getTriggerConditionsConfiguration() |
Map<String,String> |
getTriggerConfiguration() |
BuildChanges |
performDelayedChangeDetection(BuildContext buildContext)
Performs a change detection
|
public ScheduledBuildDetectionAction(@NotNull ChangeDetectionManager changeDetectionManager, @NotNull TriggerManager triggerManager, @NotNull BuildNumberGeneratorService buildNumberGenerator, @NotNull BuildLoggerManager buildLoggerManager, @NotNull ImmutableChain chain, @NotNull Map<String,String> triggerConditionsConfiguration, @NotNull Map<String,String> triggerConfiguration, @NotNull BuildContextBuilderFactory buildContextBuilderFactory)
@Nullable public BuildChanges performDelayedChangeDetection(BuildContext buildContext) throws RepositoryException
UnconditionalBuildDetectionAction
performDelayedChangeDetection
in interface UnconditionalBuildDetectionAction
RepositoryException
@NotNull public BuildDetectionResult generateResultWithoutChanges()
UnconditionalBuildDetectionAction
generateResultWithoutChanges
in interface UnconditionalBuildDetectionAction
public Map<String,String> getTriggerConditionsConfiguration()
getTriggerConditionsConfiguration
in interface TriggerConditionsAwareBuildDetectionAction
Copyright © 2019 Atlassian Software Systems Pty Ltd. All rights reserved.