Package jetbrains.buildServer.serverSide
Interface AgentDistributionMonitor
-
- All Known Implementing Classes:
AgentDistributionMonitorImpl
public interface AgentDistributionMonitor
- Author:
- Kir
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description AgentUpdateInfo
getAgentUpgradeInfo()
boolean
isReady()
boolean
shouldUpgrade(String agentVersion, String agentPluginsSignature)
default void
updateInfo()
Since by default update of agent info on server-side happens every N seconds by schedule we don't guarantee that agents will immediately see new loaded plugin after load So one can use this method after loading plugins for force updating info from current plugins state
-
-
-
Method Detail
-
getAgentUpgradeInfo
@NotNull AgentUpdateInfo getAgentUpgradeInfo()
-
shouldUpgrade
boolean shouldUpgrade(@NotNull String agentVersion, @NotNull String agentPluginsSignature)
-
isReady
boolean isReady()
-
updateInfo
default void updateInfo()
Since by default update of agent info on server-side happens every N seconds by schedule we don't guarantee that agents will immediately see new loaded plugin after load So one can use this method after loading plugins for force updating info from current plugins state- Since:
- 2021.1.1
-
-