Package com.atlassian.bamboo.vcs.runtime
Interface CommitsIsolatingVcsChangeDetector
- All Superinterfaces:
IdentifyingExecutor<VcsChangeDetector>
,VcsChangeDetector
- All Known Implementing Classes:
LegacyChangeDetector
,SvnChangeDetector
VcsChangeDetector
that can return commits one-by-one.- Since:
- 5.14
-
Method Summary
Modifier and TypeMethodDescription@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 Details
-
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:
-