Package com.atlassian.bamboo.v2.trigger
Class TagBuildAction
- java.lang.Object
-
- com.atlassian.bamboo.v2.trigger.TagBuildAction
-
- All Implemented Interfaces:
BuildDetectionAction,UnconditionalBuildDetectionAction
public class TagBuildAction extends Object implements UnconditionalBuildDetectionAction
-
-
Constructor Summary
Constructors Constructor Description TagBuildAction(ImmutableChain chain, TagAndRevision tagAndRevision, ChangeDetectionManager changeDetectionManager, BuildNumberGeneratorService buildNumberGeneratorService, BuildContextBuilderFactory buildContextBuilderFactory, BuildLoggerManager buildLoggerManager, TriggerManager triggerManager)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description @NotNull BuildDetectionResultgenerateResultWithoutChanges()Creates a result with a new number without doing change detectionImmutableChaingetChain()TagAndRevisiongetTagAndRevision()@Nullable BuildChangesperformDelayedChangeDetection(BuildContext buildContext, PlanExecutionLaunchControl.ReleaseLocksActions releaseLocksActions)Performs a change detection
-
-
-
Constructor Detail
-
TagBuildAction
public TagBuildAction(ImmutableChain chain, TagAndRevision tagAndRevision, ChangeDetectionManager changeDetectionManager, BuildNumberGeneratorService buildNumberGeneratorService, BuildContextBuilderFactory buildContextBuilderFactory, BuildLoggerManager buildLoggerManager, TriggerManager triggerManager)
-
-
Method Detail
-
generateResultWithoutChanges
@NotNull public @NotNull BuildDetectionResult 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 interfaceUnconditionalBuildDetectionActionreleaseLocksActions- actions used for releasing repositories caches locks- Returns:
- Null if and error has occurred.
- Throws:
RepositoryException
-
getChain
public ImmutableChain getChain()
-
getTagAndRevision
public TagAndRevision getTagAndRevision()
-
-