Class PluginAwareBundledToolsRegistry
- java.lang.Object
-
- jetbrains.buildServer.agent.plugins.PluginAwareBundledToolsRegistry
-
- All Implemented Interfaces:
BundledToolsRegistry,ToolUnregistrar
public class PluginAwareBundledToolsRegistry extends Object implements BundledToolsRegistry, ToolUnregistrar
- Author:
- Eugene Petrenko (eugene.petrenko@gmail.com) Date: 09.02.11 10:00
-
-
Constructor Summary
Constructors Constructor Description PluginAwareBundledToolsRegistry(PluginManager manager, BuildAgentConfiguration config)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BundledToolfindTool(String name)voidregisterTool(String toolName, BundledTool tool)Register tool with a given namevoidunregisterTool(String toolId)
-
-
-
Constructor Detail
-
PluginAwareBundledToolsRegistry
public PluginAwareBundledToolsRegistry(@NotNull PluginManager manager, @NotNull BuildAgentConfiguration config)
-
-
Method Detail
-
findTool
public BundledTool findTool(@NotNull String name)
- Specified by:
findToolin interfaceBundledToolsRegistry- Parameters:
name- tool name- Returns:
- tool descriptor if found
-
registerTool
public void registerTool(@NotNull String toolName, @NotNull BundledTool tool)Description copied from interface:BundledToolsRegistryRegister tool with a given name- Specified by:
registerToolin interfaceBundledToolsRegistry- Parameters:
toolName- tool nametool- tool descriptor
-
unregisterTool
public void unregisterTool(@NotNull String toolId)- Specified by:
unregisterToolin interfaceBundledToolsRegistry- Specified by:
unregisterToolin interfaceToolUnregistrar
-
-