Interface VcsRootUsernamesManager

    • 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 interest
        username - 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