Package jetbrains.buildServer.serverSide
Interface ProjectVcsRoots
-
- All Known Subinterfaces:
ProjectManager,ProjectManagerEx,ProjectVcsRootsEx
- All Known Implementing Classes:
ProjectManagerImpl,SecuredProjectManager
public interface ProjectVcsRootsCreated 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 SVcsRootfindVcsRootByConfigId(String configId)Finds VCS root by config idSVcsRootfindVcsRootByExternalId(String externalId)Finds VCS root by external idSVcsRootfindVcsRootById(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
-
-