Class AgentVcsRegistryImpl2
- java.lang.Object
-
- jetbrains.buildServer.agent.impl.vcs.AgentVcsRegistryImpl2
-
- All Implemented Interfaces:
AgentVcsRegistryEx
,AgentVcsRegistry
public class AgentVcsRegistryImpl2 extends Object implements AgentVcsRegistryEx
- Author:
- Eugene Petrenko Created: 17.03.2009 19:11:28
-
-
Constructor Summary
Constructors Constructor Description AgentVcsRegistryImpl2()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AgentVcsSupportContext
findVcsSupport(String name)
Searches for vcs plugin implementationCollection<String>
getVcsSupportNames()
Names of all registered vcs plugins on agent side.void
registerVcsSupport(AgentVcsSupportContext context)
Registers an implementation of Vcs Support for build agent.
-
-
-
Method Detail
-
registerVcsSupport
public void registerVcsSupport(@NotNull AgentVcsSupportContext context)
Description copied from interface:AgentVcsRegistry
Registers an implementation of Vcs Support for build agent.- Specified by:
registerVcsSupport
in interfaceAgentVcsRegistry
- Parameters:
context
- user's implementation
-
getVcsSupportNames
@NotNull public Collection<String> getVcsSupportNames()
Description copied from interface:AgentVcsRegistryEx
Names of all registered vcs plugins on agent side.- Specified by:
getVcsSupportNames
in interfaceAgentVcsRegistryEx
- Returns:
- see above
-
findVcsSupport
@NotNull public AgentVcsSupportContext findVcsSupport(@NotNull String name) throws VcsException
Description copied from interface:AgentVcsRegistryEx
Searches for vcs plugin implementation- Specified by:
findVcsSupport
in interfaceAgentVcsRegistryEx
- Returns:
- Throws:
VcsException
- if plugin was not found
-
-