Package com.atlassian.bamboo.vcs.runtime
Interface CommitsIsolatingVcsChangeDetector
-
- All Superinterfaces:
IdentifyingExecutor<VcsChangeDetector>
,VcsChangeDetector
- All Known Implementing Classes:
LegacyChangeDetector
,SvnChangeDetector
public interface CommitsIsolatingVcsChangeDetector extends VcsChangeDetector
VcsChangeDetector
that can return commits one-by-one.- Since:
- 5.14
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description @NotNull List<BuildRepositoryChanges>
isolateCommits(@NotNull BuildRepositoryChanges changes, @NotNull VcsRepositoryData vcsRepositoryData)
Break the single build changes object into a list ofBuildRepositoryChanges
.-
Methods inherited from interface com.atlassian.bamboo.vcs.runtime.IdentifyingExecutor
getVcsIdForExecutor
-
Methods inherited from interface com.atlassian.bamboo.vcs.runtime.VcsChangeDetector
collectChangesForInitialBuild, collectChangesForRevision, collectChangesSinceRevision
-
-
-
-
Method Detail
-
isolateCommits
@NotNull @NotNull List<BuildRepositoryChanges> isolateCommits(@NotNull @NotNull BuildRepositoryChanges changes, @NotNull @NotNull VcsRepositoryData vcsRepositoryData)
Break the single build changes object into a list ofBuildRepositoryChanges
. Must not be null. May return an empty list but that doesn't actually make any sense.
The order here matters. The first of theBuildRepositoryChanges
will be more likely to be built than lower changes, which may be discarded.- Parameters:
changes
-- Returns:
-
-