Class UpgradesProcessor
- java.lang.Object
-
- jetbrains.buildServer.agent.impl.upgrade.UpgradesProcessor
-
public class UpgradesProcessor extends Object
- Author:
- Eugene Petrenko (eugene.petrenko@gmail.com) Date: 06.02.11 12:32
-
-
Constructor Summary
Constructors Constructor Description UpgradesProcessor(AgentConfiguration config, UpgradeFilesDownloader downloader, Collection<UpgradeMode> upgradeModes, AgentVersionController controller)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description UpgradeOutcome
performUpgrade(AgentUpdateInfo currentVersion, Runnable agentShutdownAction)
-
-
-
Constructor Detail
-
UpgradesProcessor
public UpgradesProcessor(@NotNull AgentConfiguration config, @NotNull UpgradeFilesDownloader downloader, @NotNull Collection<UpgradeMode> upgradeModes, @NotNull AgentVersionController controller)
-
-
Method Detail
-
performUpgrade
@NotNull public UpgradeOutcome performUpgrade(@Nullable AgentUpdateInfo currentVersion, @NotNull Runnable agentShutdownAction) throws UpgradeFailedException
- Throws:
UpgradeFailedException
-
-