Class SlowVcsRootInstanceTracker


  • public class SlowVcsRootInstanceTracker
    extends Object
    This class tracks information about slow VcsRootInstances which prevent VCS Trigger to start a build within a specified quiet period.
    Since:
    10.0 (10/05/16)
    Author:
    kir
    • Method Detail

      • getDelayingRoots

        @NotNull
        public Map<SBuildType,​List<SVcsRoot>> getDelayingRoots()
        Return a map from a build configuration with a slow build type to a list of VCS Roots which cause the delay. If a record for a build type is returned, there is at least one VCS Root associated with it.
        Returns:
        see above
      • addRootWithLargeChangesCheckingInterval

        public void addRootWithLargeChangesCheckingInterval​(SBuildType buildType,
                                                            VcsRootInstance rootInstance)
      • removeFromForcedChecks

        public void removeFromForcedChecks​(@NotNull
                                           VcsRootInstance instance)
      • shouldForceChangesChecking

        public boolean shouldForceChangesChecking​(VcsRootInstanceEx rootInstance)
        Return true if given VCS Root Instance was not forced for checking for changes or it has finished checking for changes since the previous invocation of the method
        Parameters:
        rootInstance -
        Returns:
        see above