public interface ProjectVcsRoots
Modifier and Type | Method and Description |
---|---|
SVcsRoot |
findVcsRootByConfigId(java.lang.String configId)
Finds VCS root by config id
|
SVcsRoot |
findVcsRootByExternalId(java.lang.String externalId)
Finds VCS root by external id
|
SVcsRoot |
findVcsRootById(long id)
Finds VCS root by id
|
java.util.Collection<SVcsRoot> |
findVcsRootsByIds(java.util.Collection<java.lang.Long> ids)
Finds all VCS roots having the specified ids.
|
java.util.List<SVcsRoot> |
getAllVcsRoots() |
@Nullable SVcsRoot findVcsRootById(long id)
id
- vcs root id@Nullable SVcsRoot findVcsRootByExternalId(@NotNull java.lang.String externalId)
externalId
- external vcs root id@Nullable SVcsRoot findVcsRootByConfigId(@NotNull java.lang.String configId)
configId
- the config is of vcs root@NotNull java.util.Collection<SVcsRoot> findVcsRootsByIds(@NotNull java.util.Collection<java.lang.Long> ids)
ids
- ids of VCS roots@NotNull java.util.List<SVcsRoot> getAllVcsRoots()