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
UnconditionalBuildDetectionActionperformDelayedChangeDetection in interface UnconditionalBuildDetectionActionRepositoryException@NotNull public BuildDetectionResult generateResultWithoutChanges()
UnconditionalBuildDetectionActiongenerateResultWithoutChanges in interface UnconditionalBuildDetectionActionpublic Map<String,String> getTriggerConditionsConfiguration()
getTriggerConditionsConfiguration in interface TriggerConditionsAwareBuildDetectionActionCopyright © 2019 Atlassian Software Systems Pty Ltd. All rights reserved.