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 BundledTool
findTool(String name)
void
registerTool(String toolName, BundledTool tool)
Register tool with a given namevoid
unregisterTool(String toolId)
-
-
-
Constructor Detail
-
PluginAwareBundledToolsRegistry
public PluginAwareBundledToolsRegistry(@NotNull PluginManager manager, @NotNull BuildAgentConfiguration config)
-
-
Method Detail
-
findTool
public BundledTool findTool(@NotNull String name)
- Specified by:
findTool
in interfaceBundledToolsRegistry
- Parameters:
name
- tool name- Returns:
- tool descriptor if found
-
registerTool
public void registerTool(@NotNull String toolName, @NotNull BundledTool tool)
Description copied from interface:BundledToolsRegistry
Register tool with a given name- Specified by:
registerTool
in interfaceBundledToolsRegistry
- Parameters:
toolName
- tool nametool
- tool descriptor
-
unregisterTool
public void unregisterTool(@NotNull String toolId)
- Specified by:
unregisterTool
in interfaceBundledToolsRegistry
- Specified by:
unregisterTool
in interfaceToolUnregistrar
-
-