Class VcsRootChangesLoader
- java.lang.Object
-
- jetbrains.buildServer.buildTriggers.vcs.VcsRootChangesLoader
-
public class VcsRootChangesLoader extends Object
-
-
Field Summary
Fields Modifier and Type Field Description static intVCS_THRESHOLDVCS collecting changes operation will be logged with INFO level if they took more time than this threshold:
-
Constructor Summary
Constructors Constructor Description VcsRootChangesLoader()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static intgetBranchDecreaseThreshold()static booleanisOutdatedToState(LVcsRootInstance fromRepository, Date fromStateCreateTime, Date toStateCreateTime)static booleanisOutdatedToState(LVcsRootInstance fromRepository, LVcsRootInstance toRepository, RepositoryState fromState, RepositoryState toState)voidloadChanges(ChangesLoaderContext context, LoadChangesInterval interval, boolean rememberToState)voidsetBranchSpecsHistory(BranchSpecsHistory branchSpecsHistory)voidsetBuildServerState(BuildServerState buildServerState)voidsetChangePersisterFactory(ChangePersisterFactory changePersisterFactory)voidsetProgressRunner(VcsOperationProgressRunner progressRunner)voidsetRepositoryStateManager(RepositoryStateManager repositoryStateManager)voidsetVcsSettingsTracker(LVcsSettingsTracker vcsSettingsTracker)voidsetVcsStatusProvider(LVcsStatusLogger vcsStatusProvider)
-
-
-
Method Detail
-
setRepositoryStateManager
public void setRepositoryStateManager(@NotNull RepositoryStateManager repositoryStateManager)
-
setChangePersisterFactory
public void setChangePersisterFactory(@NotNull ChangePersisterFactory changePersisterFactory)
-
setBuildServerState
public void setBuildServerState(@NotNull BuildServerState buildServerState)
-
setVcsSettingsTracker
public void setVcsSettingsTracker(@NotNull LVcsSettingsTracker vcsSettingsTracker)
-
setVcsStatusProvider
public void setVcsStatusProvider(@NotNull LVcsStatusLogger vcsStatusProvider)
-
setBranchSpecsHistory
public void setBranchSpecsHistory(@NotNull BranchSpecsHistory branchSpecsHistory)
-
setProgressRunner
public void setProgressRunner(@NotNull VcsOperationProgressRunner progressRunner)
-
loadChanges
public void loadChanges(@NotNull ChangesLoaderContext context, @NotNull LoadChangesInterval interval, boolean rememberToState)
-
isOutdatedToState
public static boolean isOutdatedToState(@Nullable LVcsRootInstance fromRepository, @NotNull LVcsRootInstance toRepository, @NotNull RepositoryState fromState, @NotNull RepositoryState toState)
-
isOutdatedToState
public static boolean isOutdatedToState(@NotNull LVcsRootInstance fromRepository, @NotNull Date fromStateCreateTime, @NotNull Date toStateCreateTime)
-
getBranchDecreaseThreshold
public static int getBranchDecreaseThreshold()
-
-