Package jetbrains.buildServer.serverSide
Interface ProjectVcsRoots
-
- All Known Subinterfaces:
ProjectManager
,ProjectManagerEx
,ProjectVcsRootsEx
- All Known Implementing Classes:
ProjectManagerImpl
,SecuredProjectManager
public interface ProjectVcsRoots
Created 22.08.13 10:43- Since:
- 8.1
- Author:
- Eugene Petrenko (eugene.petrenko@jetbrains.com)
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description SVcsRoot
findVcsRootByConfigId(String configId)
Finds VCS root by config idSVcsRoot
findVcsRootByExternalId(String externalId)
Finds VCS root by external idSVcsRoot
findVcsRootById(long id)
Finds VCS root by idCollection<SVcsRoot>
findVcsRootsByIds(Collection<Long> ids)
Finds all VCS roots having the specified ids.List<SVcsRoot>
getAllVcsRoots()
-
-
-
Method Detail
-
findVcsRootById
@Nullable SVcsRoot findVcsRootById(long id)
Finds VCS root by id- Parameters:
id
- vcs root id- Returns:
- found VCS root or null
- Since:
- 8.0
-
findVcsRootByExternalId
@Nullable SVcsRoot findVcsRootByExternalId(@NotNull String externalId)
Finds VCS root by external id- Parameters:
externalId
- external vcs root id- Returns:
- found VCS root or null
- Since:
- 8.0
-
findVcsRootByConfigId
@Nullable SVcsRoot findVcsRootByConfigId(@NotNull String configId)
Finds VCS root by config id- Parameters:
configId
- the config is of vcs root- Returns:
- found VCS root or null
- Since:
- 9.0
-
findVcsRootsByIds
@NotNull Collection<SVcsRoot> findVcsRootsByIds(@NotNull Collection<Long> ids)
Finds all VCS roots having the specified ids. Returns roots in the same order as provided ids.- Parameters:
ids
- ids of VCS roots- Returns:
- collection of found VCS roots
- Since:
- 8.0
-
-