public interface VcsRootUsernamesManager
Modifier and Type | Method and Description |
---|---|
java.util.Collection<SUser> |
getUsers(VcsRoot root,
java.lang.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)
|
java.util.Map<SVcsRoot,java.lang.String> |
getVcsRootsUsernames(User user)
Returns VCS root specific user names defined by the specified user.
|
java.util.Map<VcsSupportCore,java.lang.String> |
getVcsUsernames(User user)
Returns default usernames for all VCS roots of a VCS plugin.
|
@NotNull java.util.Collection<SUser> getUsers(@NotNull VcsRoot root, @Nullable java.lang.String username)
root
- root of interestusername
- name of interest@NotNull java.util.Map<SVcsRoot,java.lang.String> getVcsRootsUsernames(@NotNull User user)
user
- whose VCS usernames are returned@NotNull java.util.Map<VcsSupportCore,java.lang.String> getVcsUsernames(@NotNull User user)
user
- whose VCS usernames are returned