Package com.atlassian.bamboo.v2.trigger
Class InitialBuildDetectionAction
java.lang.Object
com.atlassian.bamboo.v2.trigger.InitialBuildDetectionAction
- All Implemented Interfaces:
BuildDetectionAction
,DelayedChangeDetectionAction
,UnconditionalBuildDetectionAction
-
Constructor Summary
ConstructorDescriptionInitialBuildDetectionAction
(@NotNull ImmutableChain chain, @NotNull TriggerManager triggerManager, @NotNull BuildContextBuilderFactory buildContextBuilderFactory, @NotNull BuildNumberGeneratorService buildNumberGenerator, @NotNull ErrorUpdateHandler errorUpdateHandler, @NotNull ChangeDetectionManager changeDetectionManager) -
Method Summary
Modifier and TypeMethodDescription@NotNull BuildDetectionResult
Creates a result with a new number without doing change detection@Nullable BuildChanges
performDelayedChangeDetection
(BuildContext buildContext, PlanExecutionLaunchControl.ReleaseLocksActions releaseLocksActions) Performs a change detection
-
Constructor Details
-
InitialBuildDetectionAction
public InitialBuildDetectionAction(@NotNull @NotNull ImmutableChain chain, @NotNull @NotNull TriggerManager triggerManager, @NotNull @NotNull BuildContextBuilderFactory buildContextBuilderFactory, @NotNull @NotNull BuildNumberGeneratorService buildNumberGenerator, @NotNull @NotNull ErrorUpdateHandler errorUpdateHandler, @NotNull @NotNull ChangeDetectionManager changeDetectionManager)
-
-
Method Details
-
generateResultWithoutChanges
Description copied from interface:UnconditionalBuildDetectionAction
Creates a result with a new number without doing change detection- Specified by:
generateResultWithoutChanges
in interfaceUnconditionalBuildDetectionAction
- Returns:
-
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
-