public interface RemoteAgentManager extends RemotedRemoteAgentManager
| Modifier and Type | Method and Description |
|---|---|
void |
addRemoteAgentLogEntry(String logEntry) |
void |
bootstrapping(String agentHostName)
Notifies the
RemoteAgentManager that a remote agent has commenced bootstrapping. |
void |
bootstrappingElastic(String agentHostName,
@Nullable String instanceId)
Notifies the
RemoteAgentManager that an elastic agent has commenced bootstrapping. |
void |
checkOfflineAgents()
Runs a check for offline remote agents.
|
List<String> |
getRemoteAgentLog() |
boolean |
isRemoteAgentFunctionEnabled()
Checks whether the remote agent functionality is currently enabled.
|
@NotNull PipelineDefinition |
registerAgent(@NotNull PipelineDefinition remoteAgentDefinition)
Initial setup / verification of the agent.
|
void |
setRemoteAgentFunctionEnabled(boolean remoteAgentFunctionEnabled)
Controls whether the remote agent functionality of Bamboo is enabled.
|
void |
start() |
void |
stopConnectors() |
void |
stopRemoteAgent(@NotNull BuildAgent agent) |
AgentHeartBeatInfo |
updateRemoteAgentStatus(@NotNull Long agentId,
@Nullable UUID uuid,
@NotNull AgentStatus status,
@NotNull SystemInfo systemInfo)
Updates the
BuildAgent's status representing a remote agent on the local server. |
registerAgent@NotNull @NotNull PipelineDefinition registerAgent(@NotNull @NotNull PipelineDefinition remoteAgentDefinition) throws BambooLicenseException
remoteAgentDefinition - - id may be -1 if the build is newBambooLicenseExceptionAgentHeartBeatInfo updateRemoteAgentStatus(@NotNull @NotNull Long agentId, @Nullable @Nullable UUID uuid, @NotNull @NotNull AgentStatus status, @NotNull @NotNull SystemInfo systemInfo)
BuildAgent's status representing a remote agent on the local server.agentId - ID of the agentuuid - UUID of the agentstatus - agent statussystemInfo - agent system infovoid checkOfflineAgents()
void bootstrapping(String agentHostName)
Notifies the RemoteAgentManager that a remote agent has commenced bootstrapping.
agentHostName - The host name or IP address of the host on which the remote agent is running. null if unknown.void bootstrappingElastic(String agentHostName, @Nullable @Nullable String instanceId)
Notifies the RemoteAgentManager that an elastic agent has commenced bootstrapping.
agentHostName - The host name or IP address of the host on which the remote agent is running.
null if unknown.instanceId - the instance the elastic agent is loading onvoid setRemoteAgentFunctionEnabled(boolean remoteAgentFunctionEnabled)
throws Exception
Controls whether the remote agent functionality of Bamboo is enabled.
remoteAgentFunctionEnabled - true if remote agent functionality should be enabled; false otherwise.Exception - on any errorboolean isRemoteAgentFunctionEnabled()
true, if remote agent functionality is enabled, false otherwisevoid stopRemoteAgent(@NotNull
@NotNull BuildAgent agent)
void addRemoteAgentLogEntry(String logEntry)
Copyright © 2022 Atlassian Software Systems Pty Ltd. All rights reserved.