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.BuildTypeVcsBranchesInfoget(Map<VcsRootInstance,BranchSpec> branchSpecMap, Long age, boolean computeTimestamps)BuildTypeBranches.BuildTypeVcsBranchesInfoget(VcsRootInstance root, BranchSpec spec, Long age, boolean computeTimestamps)Map<VcsRootInstance,BranchSpec>getLastUsedBranchSpecMap(BuildTypeEx buildType, boolean includeSettingsRoot)RepositoryStategetRepositoryState(VcsRootInstanceEx rootInstance)RepositoryStategetStateWithActiveBranches(VcsRootInstanceEx rootInstance, long branchAge)voidput(BuildTypeBranches.BuildTypeVcsBranchesInfo info, Map<VcsRootInstance,BranchSpec> branchSpecMap, Long age, boolean computeTimestamps)voidput(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:
getin interfaceBuildTypeVcsBranchesInfoCache
-
get
public BuildTypeBranches.BuildTypeVcsBranchesInfo get(@NotNull Map<VcsRootInstance,BranchSpec> branchSpecMap, @Nullable Long age, boolean computeTimestamps)
- Specified by:
getin interfaceBuildTypeVcsBranchesInfoCache
-
put
public void put(@NotNull BuildTypeBranches.BuildTypeVcsBranchesInfo info, @NotNull Map<VcsRootInstance,BranchSpec> branchSpecMap, @Nullable Long age, boolean computeTimestamps)- Specified by:
putin interfaceBuildTypeVcsBranchesInfoCache
-
put
public void put(@NotNull BuildTypeBranches.BuildTypeVcsBranchesInfo info, @NotNull VcsRootInstanceEx root, @NotNull BranchSpec spec, @Nullable Long age, boolean computeTimestamps)- Specified by:
putin interfaceBuildTypeVcsBranchesInfoCache
-
getRepositoryState
@NotNull public RepositoryState getRepositoryState(@NotNull VcsRootInstanceEx rootInstance)
- Specified by:
getRepositoryStatein interfaceBuildTypeVcsBranchesInfoCache
-
getStateWithActiveBranches
@NotNull public RepositoryState getStateWithActiveBranches(@NotNull VcsRootInstanceEx rootInstance, long branchAge)
- Specified by:
getStateWithActiveBranchesin interfaceBuildTypeVcsBranchesInfoCache
-
getLastUsedBranchSpecMap
@NotNull public Map<VcsRootInstance,BranchSpec> getLastUsedBranchSpecMap(@NotNull BuildTypeEx buildType, boolean includeSettingsRoot)
- Specified by:
getLastUsedBranchSpecMapin interfaceBuildTypeVcsBranchesInfoCache
-
-