Package jetbrains.buildServer.vcs
Interface VcsChangesLoaderCallback
-
- All Known Implementing Classes:
BuildChangesLoaderContext,PeriodicChangesLoaderContext
public interface VcsChangesLoaderCallback
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidbranchesMayHaveChanged(Collection<LVcsRootInstanceHolder> buildTypes)Is called for build types where repository state has been changed as a result of changes collecting or a branch specification change has been detectedvoidchangesCollectingFinished(LVcsRootInstance root)Called when changes collecting is finishedvoidmodificationPersisted(VcsModification modification, VcsRoot root)Called when modification persisted to databasevoidreportCollectChangesProblem(VcsRootVcsException exception)Used to report problems while collecting VCS sources.
-
-
-
Method Detail
-
changesCollectingFinished
void changesCollectingFinished(@NotNull LVcsRootInstance root)Called when changes collecting is finished- Parameters:
root- root where changes were collected
-
reportCollectChangesProblem
void reportCollectChangesProblem(@NotNull VcsRootVcsException exception)Used to report problems while collecting VCS sources. Related VCS root can be obtained from the exception object.- Parameters:
exception- problem itself.
-
modificationPersisted
void modificationPersisted(@NotNull VcsModification modification, @NotNull VcsRoot root)Called when modification persisted to database- Parameters:
modification- modificationroot-
-
branchesMayHaveChanged
void branchesMayHaveChanged(@NotNull Collection<LVcsRootInstanceHolder> buildTypes)Is called for build types where repository state has been changed as a result of changes collecting or a branch specification change has been detected- Parameters:
buildTypes-
-
-