Class ToolContentUpdaterImpl
- java.lang.Object
-
- jetbrains.buildServer.agent.tools.ToolContentUpdaterImpl
-
- All Implemented Interfaces:
ToolContentUpdater
public class ToolContentUpdaterImpl extends Object implements ToolContentUpdater
Created by Evgeniy.Koshkin.
-
-
Constructor Summary
Constructors Constructor Description ToolContentUpdaterImpl(ToolInfoProvider toolInfoProvider, AgentToolPaths toolPaths, RecoverableFilesDownloader downloader, PluginUnpackersHolder unpackers, FetchedToolsState fetchedToolContentState, BundledToolsRegistry bundledToolsRegistry, PluginUnpackLocationsWriter locationsWriter, ExecutableAttributesSetter executableAttributesSetter, AgentPluginInfoFetcher pluginInfoFetcher)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
updateForBuild(AgentRunningBuild runningBuild, List<String> usedToolIds)
void
updateTool(String toolName)
-
-
-
Constructor Detail
-
ToolContentUpdaterImpl
public ToolContentUpdaterImpl(@NotNull ToolInfoProvider toolInfoProvider, @NotNull AgentToolPaths toolPaths, @NotNull RecoverableFilesDownloader downloader, @NotNull PluginUnpackersHolder unpackers, @NotNull FetchedToolsState fetchedToolContentState, @NotNull BundledToolsRegistry bundledToolsRegistry, @NotNull PluginUnpackLocationsWriter locationsWriter, @NotNull ExecutableAttributesSetter executableAttributesSetter, @NotNull AgentPluginInfoFetcher pluginInfoFetcher)
-
-
Method Detail
-
updateForBuild
public void updateForBuild(@NotNull AgentRunningBuild runningBuild, @NotNull List<String> usedToolIds) throws UpgradeFailedException
- Specified by:
updateForBuild
in interfaceToolContentUpdater
- Throws:
UpgradeFailedException
-
updateTool
public void updateTool(@NotNull String toolName) throws UpgradeFailedException
- Specified by:
updateTool
in interfaceToolContentUpdater
- Throws:
UpgradeFailedException
-
-