Interface ReadonlyToolsRegistry
-
- All Known Subinterfaces:
ToolsRegistry
- All Known Implementing Classes:
RemoteToolsRegistryImpl
,ServerToolRegistryImpl
public interface ReadonlyToolsRegistry
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description InstalledToolVersionEx
findInstalledTool(String toolId)
Find tool by its un-typed id.Collection<InstalledToolVersionEx>
getInstalledTools()
Collection<InstalledToolVersionEx>
getInstalledTools(ToolType toolType)
boolean
isToolRegistered(File toolPackage)
Checks if tool originated from given package is already registered on serverboolean
isToolRegistered(String toolId)
Checks if toolName tool is already registered on server
-
-
-
Method Detail
-
getInstalledTools
@NotNull Collection<InstalledToolVersionEx> getInstalledTools()
-
getInstalledTools
@NotNull Collection<InstalledToolVersionEx> getInstalledTools(@NotNull ToolType toolType)
-
findInstalledTool
@Nullable InstalledToolVersionEx findInstalledTool(@NotNull String toolId)
Find tool by its un-typed id.- Parameters:
toolVersionId
- Un-typed tool id- Returns:
- Tool if found, Null otherwise
-
isToolRegistered
boolean isToolRegistered(@NotNull String toolId)
Checks if toolName tool is already registered on server- Parameters:
toolName
- tool name- Returns:
- true if toolName tool is already registered on server, false otherwise
-
isToolRegistered
boolean isToolRegistered(@NotNull File toolPackage)
Checks if tool originated from given package is already registered on server- Parameters:
toolPackage
- origin tool package- Returns:
- true if tool based on toolPackage is already registered on server, false otherwise
-
-