Package jetbrains.buildServer.vcs
Interface VcsRootUsernamesManager
-
- All Known Subinterfaces:
VcsManager,VcsManagerEx,VcsRootUsernamesManagerEx
- All Known Implementing Classes:
SecuredVcsManager,VcsManagerImpl,VcsRootUsernamesManagerImpl
public interface VcsRootUsernamesManager- Since:
- 8.1
- Author:
- Eugene Petrenko (eugene.petrenko@jetbrains.com)
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Collection<SUser>getUsers(VcsRoot root, String username)Returns users which have specified username in their vcs settings (either in settings of whole VCS or in settings of specified VCS root)Map<SVcsRoot,String>getVcsRootsUsernames(User user)Returns VCS root specific user names defined by the specified user.Map<VcsSupportCore,String>getVcsUsernames(User user)Returns default usernames for all VCS roots of a VCS plugin.
-
-
-
Method Detail
-
getUsers
@NotNull Collection<SUser> getUsers(@NotNull VcsRoot root, @Nullable String username)
Returns users which have specified username in their vcs settings (either in settings of whole VCS or in settings of specified VCS root)- Parameters:
root- root of interestusername- name of interest- Returns:
- see above
- Since:
- 6.5.1
-
getVcsRootsUsernames
@NotNull Map<SVcsRoot,String> getVcsRootsUsernames(@NotNull User user)
Returns VCS root specific user names defined by the specified user.- Parameters:
user- whose VCS usernames are returned- Returns:
- map of VCS root to user name
-
getVcsUsernames
@NotNull Map<VcsSupportCore,String> getVcsUsernames(@NotNull User user)
Returns default usernames for all VCS roots of a VCS plugin.- Parameters:
user- whose VCS usernames are returned- Returns:
- map of VCS plugin to user name
-
-