fix nuget tools filter
[teamcity/dotNetPackagesSupport.git] / nuget-server / src / jetbrains / buildServer / nuget / server / toolRegistry / impl / AvailableToolsState.java
1 package jetbrains.buildServer.nuget.server.toolRegistry.impl;\r
2 \r
3 import jetbrains.buildServer.nuget.server.feed.reader.FeedPackage;\r
4 import jetbrains.buildServer.nuget.server.toolRegistry.FetchException;\r
5 import jetbrains.buildServer.nuget.server.toolRegistry.NuGetTool;\r
6 import jetbrains.buildServer.nuget.server.toolRegistry.ToolsPolicy;\r
7 import org.jetbrains.annotations.NotNull;\r
8 import org.jetbrains.annotations.Nullable;\r
9 \r
10 import java.util.Collection;\r
11 \r
12 /**\r
13  * Created by Eugene Petrenko (eugene.petrenko@gmail.com)\r
14  * Date: 16.08.11 2:07\r
15  */\r
16 public interface AvailableToolsState {\r
17   @Nullable\r
18   FeedPackage findTool(@NotNull String id);\r
19 \r
20   @NotNull\r
21   Collection<? extends NuGetTool> getAvailable(ToolsPolicy policy) throws FetchException;\r
22 }\r