Class RemoteToolsRegistryImpl
- java.lang.Object
-
- jetbrains.buildServer.tools.installed.RemoteToolsRegistryImpl
-
- All Implemented Interfaces:
ReadonlyToolsRegistry
public class RemoteToolsRegistryImpl extends Object implements ReadonlyToolsRegistry
-
-
Constructor Summary
Constructors Constructor Description RemoteToolsRegistryImpl(ServerToolProviders serverToolProviders, ExtensionHolder extensionHolder)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description InstalledToolVersionExfindInstalledTool(String toolId)Find tool by its un-typed id.Collection<InstalledToolVersionEx>getInstalledTools()Collection<InstalledToolVersionEx>getInstalledTools(ToolType toolType)booleanisToolRegistered(File toolPackage)Checks if tool originated from given package is already registered on serverbooleanisToolRegistered(String toolId)Checks if toolName tool is already registered on server
-
-
-
Constructor Detail
-
RemoteToolsRegistryImpl
public RemoteToolsRegistryImpl(@NotNull ServerToolProviders serverToolProviders, @NotNull ExtensionHolder extensionHolder)
-
-
Method Detail
-
getInstalledTools
@NotNull public Collection<InstalledToolVersionEx> getInstalledTools()
- Specified by:
getInstalledToolsin interfaceReadonlyToolsRegistry
-
getInstalledTools
@NotNull public Collection<InstalledToolVersionEx> getInstalledTools(@NotNull ToolType toolType)
- Specified by:
getInstalledToolsin interfaceReadonlyToolsRegistry
-
findInstalledTool
@Nullable public InstalledToolVersionEx findInstalledTool(@NotNull String toolId)
Description copied from interface:ReadonlyToolsRegistryFind tool by its un-typed id.- Specified by:
findInstalledToolin interfaceReadonlyToolsRegistry- Returns:
- Tool if found, Null otherwise
-
isToolRegistered
public boolean isToolRegistered(@NotNull String toolId)Description copied from interface:ReadonlyToolsRegistryChecks if toolName tool is already registered on server- Specified by:
isToolRegisteredin interfaceReadonlyToolsRegistry- Returns:
- true if toolName tool is already registered on server, false otherwise
-
isToolRegistered
public boolean isToolRegistered(@NotNull File toolPackage)Description copied from interface:ReadonlyToolsRegistryChecks if tool originated from given package is already registered on server- Specified by:
isToolRegisteredin interfaceReadonlyToolsRegistry- Parameters:
toolPackage- origin tool package- Returns:
- true if tool based on toolPackage is already registered on server, false otherwise
-
-