Class BuildTypeBranchesInfoCacheImpl
- java.lang.Object
-
- jetbrains.buildServer.serverSide.impl.BuildTypeBranchesInfoCacheImpl
-
- All Implemented Interfaces:
BuildTypeVcsBranchesInfoCache
public class BuildTypeBranchesInfoCacheImpl extends Object implements BuildTypeVcsBranchesInfoCache
-
-
Constructor Summary
Constructors Constructor Description BuildTypeBranchesInfoCacheImpl(VcsModificationHistoryEx vcsHistory)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BuildTypeBranches.BuildTypeVcsBranchesInfo
get(Map<VcsRootInstance,BranchSpec> branchSpecMap, Long age, boolean computeTimestamps)
BuildTypeBranches.BuildTypeVcsBranchesInfo
get(VcsRootInstance root, BranchSpec spec, Long age, boolean computeTimestamps)
Map<VcsRootInstance,BranchSpec>
getLastUsedBranchSpecMap(BuildTypeEx buildType, boolean includeSettingsRoot)
RepositoryState
getRepositoryState(VcsRootInstanceEx rootInstance)
RepositoryState
getStateWithActiveBranches(VcsRootInstanceEx rootInstance, long branchAge)
void
put(BuildTypeBranches.BuildTypeVcsBranchesInfo info, Map<VcsRootInstance,BranchSpec> branchSpecMap, Long age, boolean computeTimestamps)
void
put(BuildTypeBranches.BuildTypeVcsBranchesInfo info, VcsRootInstanceEx root, BranchSpec spec, Long age, boolean computeTimestamps)
-
-
-
Constructor Detail
-
BuildTypeBranchesInfoCacheImpl
public BuildTypeBranchesInfoCacheImpl(@NotNull VcsModificationHistoryEx vcsHistory)
-
-
Method Detail
-
get
@Nullable public BuildTypeBranches.BuildTypeVcsBranchesInfo get(@NotNull VcsRootInstance root, @NotNull BranchSpec spec, @Nullable Long age, boolean computeTimestamps)
- Specified by:
get
in interfaceBuildTypeVcsBranchesInfoCache
-
get
public BuildTypeBranches.BuildTypeVcsBranchesInfo get(@NotNull Map<VcsRootInstance,BranchSpec> branchSpecMap, @Nullable Long age, boolean computeTimestamps)
- Specified by:
get
in interfaceBuildTypeVcsBranchesInfoCache
-
put
public void put(@NotNull BuildTypeBranches.BuildTypeVcsBranchesInfo info, @NotNull Map<VcsRootInstance,BranchSpec> branchSpecMap, @Nullable Long age, boolean computeTimestamps)
- Specified by:
put
in interfaceBuildTypeVcsBranchesInfoCache
-
put
public void put(@NotNull BuildTypeBranches.BuildTypeVcsBranchesInfo info, @NotNull VcsRootInstanceEx root, @NotNull BranchSpec spec, @Nullable Long age, boolean computeTimestamps)
- Specified by:
put
in interfaceBuildTypeVcsBranchesInfoCache
-
getRepositoryState
@NotNull public RepositoryState getRepositoryState(@NotNull VcsRootInstanceEx rootInstance)
- Specified by:
getRepositoryState
in interfaceBuildTypeVcsBranchesInfoCache
-
getStateWithActiveBranches
@NotNull public RepositoryState getStateWithActiveBranches(@NotNull VcsRootInstanceEx rootInstance, long branchAge)
- Specified by:
getStateWithActiveBranches
in interfaceBuildTypeVcsBranchesInfoCache
-
getLastUsedBranchSpecMap
@NotNull public Map<VcsRootInstance,BranchSpec> getLastUsedBranchSpecMap(@NotNull BuildTypeEx buildType, boolean includeSettingsRoot)
- Specified by:
getLastUsedBranchSpecMap
in interfaceBuildTypeVcsBranchesInfoCache
-
-