Package com.atlassian.bamboo.v2.trigger
Class ScheduledBuildDetectionAction
- java.lang.Object
-
- com.atlassian.bamboo.v2.trigger.ScheduledBuildDetectionAction
-
- All Implemented Interfaces:
BuildDetectionAction
,TriggerConditionsAwareBuildDetectionAction
,UnconditionalBuildDetectionAction
public class ScheduledBuildDetectionAction extends Object implements TriggerConditionsAwareBuildDetectionAction, UnconditionalBuildDetectionAction
-
-
Constructor Summary
Constructors Constructor 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)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description @NotNull BuildDetectionResult
generateResultWithoutChanges()
Creates a result with a new number without doing change detectionMap<String,String>
getTriggerConditionsConfiguration()
Map<String,String>
getTriggerConfiguration()
@Nullable BuildChanges
performDelayedChangeDetection(BuildContext buildContext, PlanExecutionLaunchControl.ReleaseLocksActions releaseLocksActions)
Performs a change detection
-
-
-
Constructor Detail
-
ScheduledBuildDetectionAction
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)
-
-
Method Detail
-
performDelayedChangeDetection
@Nullable public @Nullable BuildChanges performDelayedChangeDetection(BuildContext buildContext, @NotNull PlanExecutionLaunchControl.ReleaseLocksActions releaseLocksActions) throws RepositoryException
Description copied from interface:UnconditionalBuildDetectionAction
Performs a change detection- Specified by:
performDelayedChangeDetection
in interfaceUnconditionalBuildDetectionAction
releaseLocksActions
- actions used for releasing repositories caches locks- Returns:
- Null if and error has occurred.
- Throws:
RepositoryException
-
generateResultWithoutChanges
@NotNull public @NotNull BuildDetectionResult generateResultWithoutChanges()
Description copied from interface:UnconditionalBuildDetectionAction
Creates a result with a new number without doing change detection- Specified by:
generateResultWithoutChanges
in interfaceUnconditionalBuildDetectionAction
- Returns:
-
getTriggerConditionsConfiguration
public Map<String,String> getTriggerConditionsConfiguration()
- Specified by:
getTriggerConditionsConfiguration
in interfaceTriggerConditionsAwareBuildDetectionAction
-
-