Class UpgradeThread
- java.lang.Object
-
- jetbrains.buildServer.agent.impl.upgrade.UpgradeThread
-
-
Field Summary
Fields Modifier and Type Field Description static String
DEFAULT_DISK_SIZE_FOR_AGENT
static String
DISK_SIZE_FOR_AGENT_PROPERTY_NAME
-
Constructor Summary
Constructors Constructor Description UpgradeThread(Agent agent, AgentVersionController versionController, UpgradesProcessor processor, DiskSpaceCleaner diskSpaceCleaner, AgentConfiguration agentConfiguration)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected AgentExitCode
prepareUpgrade(AgentUpdateInfo agentVersoin)
void
run()
Thread
startUpgrade()
-
-
-
Field Detail
-
DEFAULT_DISK_SIZE_FOR_AGENT
public static final String DEFAULT_DISK_SIZE_FOR_AGENT
- See Also:
- Constant Field Values
-
DISK_SIZE_FOR_AGENT_PROPERTY_NAME
public static final String DISK_SIZE_FOR_AGENT_PROPERTY_NAME
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
UpgradeThread
public UpgradeThread(@NotNull Agent agent, @NotNull AgentVersionController versionController, @NotNull UpgradesProcessor processor, @NotNull DiskSpaceCleaner diskSpaceCleaner, @NotNull AgentConfiguration agentConfiguration)
-
-
Method Detail
-
startUpgrade
@Nullable public Thread startUpgrade()
-
prepareUpgrade
@Nullable protected AgentExitCode prepareUpgrade(@Nullable AgentUpdateInfo agentVersoin)
-
-