Class BundledToolsRegistryImpl
- java.lang.Object
-
- jetbrains.buildServer.agent.tools.BundledToolsRegistryImpl
-
- All Implemented Interfaces:
BundledToolsRegistry,ToolUnregistrar
public class BundledToolsRegistryImpl extends Object implements BundledToolsRegistry, ToolUnregistrar
Created by Evgeniy.Koshkin.
-
-
Constructor Summary
Constructors Constructor Description BundledToolsRegistryImpl(BuildAgentConfiguration agentConfiguration, PluginManager plugins)
-
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
-
BundledToolsRegistryImpl
public BundledToolsRegistryImpl(@NotNull BuildAgentConfiguration agentConfiguration, @NotNull PluginManager plugins)
-
-
Method Detail
-
findTool
@Nullable 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
-
-