Class ToolPackagesWatcher
- java.lang.Object
-
- jetbrains.buildServer.tools.installed.ToolPackagesWatcher
-
public class ToolPackagesWatcher extends Object
Created by Evgeniy.Koshkin.
-
-
Constructor Summary
Constructors Constructor Description ToolPackagesWatcher(ToolPaths toolPaths, ToolsRegistry toolsRegistry)ToolPackagesWatcher(ToolPaths toolPaths, ToolsRegistry toolsRegistry, long sleepingPeriod)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidcheckForModifications()<T> TexecuteWithDisabledWatcher(Callable<T> callable)voidinstallFromFile(Collection<InstalledToolVersionEx> knownTools, File newToolPackage, ToolsRegistry toolsRegistry)voidstart()voidstop()
-
-
-
Constructor Detail
-
ToolPackagesWatcher
@Autowired public ToolPackagesWatcher(@NotNull ToolPaths toolPaths, @NotNull ToolsRegistry toolsRegistry)
-
ToolPackagesWatcher
public ToolPackagesWatcher(@NotNull ToolPaths toolPaths, @NotNull ToolsRegistry toolsRegistry, long sleepingPeriod)
-
-
Method Detail
-
installFromFile
public void installFromFile(Collection<InstalledToolVersionEx> knownTools, File newToolPackage, @NotNull ToolsRegistry toolsRegistry)
-
start
public void start()
-
stop
public void stop()
-
executeWithDisabledWatcher
@NotNull public <T> T executeWithDisabledWatcher(@NotNull Callable<T> callable) throws ToolException- Throws:
ToolException
-
checkForModifications
public void checkForModifications()
-
-