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