Package jetbrains.buildServer.serverSide
Interface LVcsRootInstanceHolderEx
-
- All Superinterfaces:
LVcsRootInstanceHolder
- All Known Subinterfaces:
BuildTypeEx,RemoteBuildTypeEx
- All Known Implementing Classes:
BuildTypeImpl,DummyBuildType,EditableBuildTypeCopy,MockBuildType,RemoteBuildTypeImpl,SecuredBuildType
public interface LVcsRootInstanceHolderEx extends LVcsRootInstanceHolder
Created 26.08.13 18:12- Since:
- 8.1
- Author:
- Eugene Petrenko (eugene.petrenko@jetbrains.com)
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidbranchesChanged(boolean currentNodeEvent, Date branchChangeTimestamp)Notifies build configuration that the branches may have changed.Set<String>getAdditionalBranchesForChangesCollecting(LVcsRootInstance root, VcsRepositoryState state)List<BranchSpec>getAdditionalBranchSpecs(LVcsRootInstance root, VcsRepositoryState state)BranchSpecgetBranchSpec(LVcsRootInstance root)LVcsRootInstanceHoldergetSourceBuildType()If current instance is an instance of RemoteBuildType - returns base configuration for remote build type, otherwise - returns this.booleanrememberLastUsedRootInstanceAndBranchSpec(LVcsRootInstance rootInstance, 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 whenforcePendingChangesResetis true-
Methods inherited from interface jetbrains.buildServer.serverSide.LVcsRootInstanceHolder
getBuildTypeId, getName
-
-
-
-
Method Detail
-
getBranchSpec
@NotNull BranchSpec getBranchSpec(@NotNull LVcsRootInstance root)
-
getAdditionalBranchSpecs
@NotNull List<BranchSpec> getAdditionalBranchSpecs(@NotNull LVcsRootInstance root, @NotNull VcsRepositoryState state)
-
getAdditionalBranchesForChangesCollecting
@NotNull Set<String> getAdditionalBranchesForChangesCollecting(@NotNull LVcsRootInstance root, @NotNull VcsRepositoryState state)
-
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 whenforcePendingChangesResetis true- Parameters:
parentRoot- root of interestspec- 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)
-
-