Interface LVcsRootInstanceHolderEx

    • Method Detail

      • getSourceBuildType

        @NotNull
        LVcsRootInstanceHolder getSourceBuildType()
        If current instance is an instance of RemoteBuildType - returns base configuration for remote build type, otherwise - returns this. //TODO: remove it from here once we hide RemoteBuildType from here my better implementation of ChangesCollectionContext
        Returns:
        see below.
        Since:
        6.0
      • rememberLastUsedRootInstanceAndBranchSpec

        boolean rememberLastUsedRootInstanceAndBranchSpec​(@NotNull
                                                          LVcsRootInstance rootInstance,
                                                          @NotNull
                                                          BranchSpec spec)
        Stores branch specification used for changes collecting in given VCS root and resets a pending changes cache if root or spec is changed since last call to this method or when forcePendingChangesReset is true
        Parameters:
        parentRoot - root of interest
        spec - branch specification
        Returns:
        true if buildType's caches were updated
      • branchesChanged

        void branchesChanged​(boolean currentNodeEvent,
                             @NotNull
                             Date branchChangeTimestamp)
        Notifies build configuration that the branches may have changed.
        Parameters:
        branchChangeTimestamp - the time when the branches were changed (usually this is the time when we started collecting changes)