Package com.atlassian.bamboo.v2.trigger
Class TagBuildAction
java.lang.Object
com.atlassian.bamboo.v2.trigger.TagBuildAction
- All Implemented Interfaces:
BuildDetectionAction
,UnconditionalBuildDetectionAction
-
Constructor Summary
ConstructorDescriptionTagBuildAction
(ImmutableChain chain, TagAndRevision tagAndRevision, ChangeDetectionManager changeDetectionManager, BuildNumberGeneratorService buildNumberGeneratorService, BuildContextBuilderFactory buildContextBuilderFactory, BuildLoggerManager buildLoggerManager, TriggerManager triggerManager) -
Method Summary
Modifier and TypeMethodDescription@NotNull BuildDetectionResult
Creates a result with a new number without doing change detectiongetChain()
@Nullable BuildChanges
performDelayedChangeDetection
(BuildContext buildContext, PlanExecutionLaunchControl.ReleaseLocksActions releaseLocksActions) Performs a change detection
-
Constructor Details
-
TagBuildAction
public TagBuildAction(ImmutableChain chain, TagAndRevision tagAndRevision, ChangeDetectionManager changeDetectionManager, BuildNumberGeneratorService buildNumberGeneratorService, BuildContextBuilderFactory buildContextBuilderFactory, BuildLoggerManager buildLoggerManager, TriggerManager triggerManager)
-
-
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
-
getChain
-
getTagAndRevision
-