Package jetbrains.buildServer.vcs
Interface ChangesCollectorResult
-
- All Known Implementing Classes:
BuildChangesLoaderContext
public interface ChangesCollectorResult
Contains result of changes collecting
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Collection<BuildRevisionEx>
getBuildRevisions(BuildPromotion promotion)
Returns revisions to be set to specified build promotionMap<SBuildType,VcsException>
getChangesCollectingProblems()
Long
getMaxOccupiedModificationId(BuildPromotion promotion)
Returns max occupied modification id among all VCS roots of specified build promotion.Map<VcsRootInstance,String>
getUpperLimitRevisions(BuildPromotion promotion)
If changes were collected during build start, returns build's branches revisions up to which changes were collected.RepositoryVersion
getVersionedSettingsRevision(BuildPromotion promotion)
VcsRootInstance
getVersionedSettingsVcsRoot(BuildPromotion promotion)
boolean
isChangesCollectingPerformedFor(BuildPromotion buildPromotion)
boolean
shouldCollectChangesForPromotion(BuildPromotion buildPromotion)
-
-
-
Method Detail
-
getMaxOccupiedModificationId
@Nullable Long getMaxOccupiedModificationId(@NotNull BuildPromotion promotion)
Returns max occupied modification id among all VCS roots of specified build promotion. Can be null if there were no changes collected for VCS roots of this promotion.- Parameters:
promotion
- build promotion- Returns:
- see above
-
getBuildRevisions
@NotNull Collection<BuildRevisionEx> getBuildRevisions(@NotNull BuildPromotion promotion)
Returns revisions to be set to specified build promotion- Parameters:
promotion
- build promotion- Returns:
- final revisions to set to build promotion
-
getChangesCollectingProblems
@NotNull Map<SBuildType,VcsException> getChangesCollectingProblems()
- Returns:
- build configurations and VCS errors where changes collecting failed for some reason
-
getUpperLimitRevisions
@NotNull Map<VcsRootInstance,String> getUpperLimitRevisions(@NotNull BuildPromotion promotion)
If changes were collected during build start, returns build's branches revisions up to which changes were collected. Returns an empty map if changes were not collected.
-
shouldCollectChangesForPromotion
boolean shouldCollectChangesForPromotion(@NotNull BuildPromotion buildPromotion)
-
isChangesCollectingPerformedFor
boolean isChangesCollectingPerformedFor(@NotNull BuildPromotion buildPromotion)
-
getVersionedSettingsVcsRoot
@Nullable VcsRootInstance getVersionedSettingsVcsRoot(@NotNull BuildPromotion promotion)
-
getVersionedSettingsRevision
@Nullable RepositoryVersion getVersionedSettingsRevision(@NotNull BuildPromotion promotion)
-
-