initial remove support
[teamcity/dotNetPackagesSupport.git] / nuget-server / src / jetbrains / buildServer / nuget / server / toolRegistry / impl / NuGetToolManagerImpl.java
index cbca2719d3c58e452c09d8f7416be71283d0ba57..8e13e8fece38b8af1aeb2ddd3a54d79e969ddf4d 100644 (file)
@@ -47,7 +47,7 @@ public class NuGetToolManagerImpl implements NuGetToolManager {
   }\r
 \r
   @NotNull\r
-  public Collection<NuGetInstalledTool> getInstalledTools() {\r
+  public Collection<? extends NuGetInstalledTool> getInstalledTools() {\r
     return myInstalled.getTools();\r
   }\r
 \r
@@ -80,6 +80,10 @@ public class NuGetToolManagerImpl implements NuGetToolManager {
                     }));\r
   }\r
 \r
+  public void removeTool(@NotNull String toolId) {\r
+    myInstalled.removeTool(toolId);\r
+  }\r
+\r
   private List<NuGetInstallingTool> mockInstallingTools() {\r
     return Arrays.<NuGetInstallingTool>asList(\r
             new NuGetInstallingTool() {\r