Package jetbrains.buildServer.vcs
Interface VcsRegistryEx
-
- All Superinterfaces:
VcsRegistry
- All Known Subinterfaces:
VcsManagerEx
- All Known Implementing Classes:
SecuredVcsManager,VcsManagerImpl,VcsSupportContextRegistry
public interface VcsRegistryEx extends VcsRegistry
Created 21.08.13 19:14- Author:
- Eugene Petrenko (eugene.petrenko@jetbrains.com)
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidregister(String vcsName, VcsSupportContext context)Register new vcs with specified name on server.voidregisterVcsSupport(VcsSupportContext vcsSupport)Register new vcs on server.voidunregister(String vcsName)Unregister vcs with specified name which was previous registered viaregister(String, VcsSupportContext)method.voidunregisterVcsSupport(VcsSupportContext vcsSupport)Unregister vcs which was previous registered viaregisterVcsSupport(VcsSupportContext)method.-
Methods inherited from interface jetbrains.buildServer.vcs.VcsRegistry
findVcsByName, findVcsContextByName, getAllVcs, getAllVcsCore
-
-
-
-
Method Detail
-
registerVcsSupport
void registerVcsSupport(@NotNull VcsSupportContext vcsSupport)Register new vcs on server. Works likeregister(String, VcsSupportContext)with name from VcsSupportContext- Parameters:
vcsSupport-VcsSupportContextimplementation for vcs which provides core functionality
-
unregisterVcsSupport
void unregisterVcsSupport(@NotNull VcsSupportContext vcsSupport)Unregister vcs which was previous registered viaregisterVcsSupport(VcsSupportContext)method.
-
register
void register(@NotNull String vcsName, @NotNull VcsSupportContext context) throws VcsSupportNameCollisionExceptionRegister new vcs with specified name on server. If vcs with given name already registered thenVcsSupportNameCollisionExceptionwill be thrown.- Parameters:
vcsName- name of vcscontext-VcsSupportContextimplementation for vcs which provides core functionality- Throws:
VcsSupportNameCollisionException- if vcs with given name already registed- Since:
- 2018.2
-
unregister
void unregister(@NotNull String vcsName)Unregister vcs with specified name which was previous registered viaregister(String, VcsSupportContext)method. If vcs with given name is not found then method does nothing- Parameters:
vcsName- name of vcs- Since:
- 2018.2
-
-