Package jetbrains.buildServer.vcs
Interface VcsUsernameStorage
-
- All Known Implementing Classes:
VcsUsernameStorageImpl
public interface VcsUsernameStorage
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
addVcsUsername(SUser user, VcsUsernamePropertyKey key, String name)
Collection<SUser>
findUsers(VcsUsernamePropertyKey key, String userName)
Map<VcsUsernamePropertyKey,List<String>>
getVcsProperties(SUser user)
void
setDefaultVcsUsernames(SUser user, List<String> userNames)
void
setVcsRootUsernames(SUser user, VcsRoot root, List<String> userNames)
void
setVcsUsernames(SUser user, String vcsName, List<String> userNames)
void
setVcsUsernames(SUser user, VcsUsernamePropertyKey key, List<String> userNames)
-
-
-
Method Detail
-
setDefaultVcsUsernames
void setDefaultVcsUsernames(@NotNull SUser user, @NotNull List<String> userNames) throws InvalidVcsNameException
- Throws:
InvalidVcsNameException
-
setVcsUsernames
void setVcsUsernames(@NotNull SUser user, @NotNull String vcsName, @NotNull List<String> userNames) throws InvalidVcsNameException
- Throws:
InvalidVcsNameException
-
setVcsRootUsernames
void setVcsRootUsernames(@NotNull SUser user, @NotNull VcsRoot root, @NotNull List<String> userNames) throws InvalidVcsNameException
- Throws:
InvalidVcsNameException
-
setVcsUsernames
void setVcsUsernames(@NotNull SUser user, @NotNull VcsUsernamePropertyKey key, @NotNull List<String> userNames) throws InvalidVcsNameException
- Throws:
InvalidVcsNameException
-
addVcsUsername
void addVcsUsername(@NotNull SUser user, @NotNull VcsUsernamePropertyKey key, @NotNull String name) throws InvalidVcsNameException
- Throws:
InvalidVcsNameException
-
getVcsProperties
@NotNull Map<VcsUsernamePropertyKey,List<String>> getVcsProperties(@NotNull SUser user)
-
findUsers
@NotNull Collection<SUser> findUsers(@NotNull VcsUsernamePropertyKey key, @Nullable String userName)
-
-