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 void
register(String vcsName, VcsSupportContext context)
Register new vcs with specified name on server.void
registerVcsSupport(VcsSupportContext vcsSupport)
Register new vcs on server.void
unregister(String vcsName)
Unregister vcs with specified name which was previous registered viaregister(String, VcsSupportContext)
method.void
unregisterVcsSupport(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
-VcsSupportContext
implementation 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 VcsSupportNameCollisionException
Register new vcs with specified name on server. If vcs with given name already registered thenVcsSupportNameCollisionException
will be thrown.- Parameters:
vcsName
- name of vcscontext
-VcsSupportContext
implementation 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
-
-