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
ConstructorsConstructorDescriptionInitialBuildDetectionAction(@NotNull ImmutableChain chain, @NotNull TriggerManager triggerManager, @NotNull BuildContextBuilderFactory buildContextBuilderFactory, @NotNull BuildNumberGeneratorService buildNumberGenerator, @NotNull ErrorUpdateHandler errorUpdateHandler, @NotNull ChangeDetectionManager changeDetectionManager) -
Method Summary
Modifier and TypeMethodDescription@NotNull BuildDetectionResultCreates a result with a new number without doing change detection@Nullable BuildChangesperformDelayedChangeDetection(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:UnconditionalBuildDetectionActionCreates a result with a new number without doing change detection- Specified by:
generateResultWithoutChangesin interfaceUnconditionalBuildDetectionAction- Returns:
-
performDelayedChangeDetection
@Nullable public @Nullable BuildChanges performDelayedChangeDetection(BuildContext buildContext, @NotNull PlanExecutionLaunchControl.ReleaseLocksActions releaseLocksActions) throws RepositoryException Description copied from interface:UnconditionalBuildDetectionActionPerforms a change detection- Specified by:
performDelayedChangeDetectionin interfaceUnconditionalBuildDetectionAction- Parameters:
buildContext-releaseLocksActions- actions used for releasing repositories caches locks- Returns:
- Null if and error has occurred.
- Throws:
RepositoryException
-