|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
@Internal public interface RemoteAgentManager
Manages the interactions with remote agents
| Method Summary | |
|---|---|
void |
addRemoteAgentLogEntry(String logEntry)
|
void |
bootstrapping(String agentHostName)
Notifies the RemoteAgentManager that a remote agent has commenced bootstrapping. |
void |
bootstrappingElastic(String agentHostName,
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. |
PipelineDefinition |
registerAgent(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(BuildAgent agent)
|
AgentHeartBeatInfo |
updateRemoteAgentStatus(Long agentId,
UUID uuid,
AgentStatus status,
SystemInfo systemInfo)
Updates the BuildAgent's status representing a remote agent on the local server. |
| Method Detail |
|---|
@NotNull
PipelineDefinition registerAgent(@NotNull
PipelineDefinition remoteAgentDefinition)
throws BambooLicenseException
remoteAgentDefinition - - id may be -1 if the build is new
BambooLicenseException
AgentHeartBeatInfo updateRemoteAgentStatus(@NotNull
Long agentId,
@Nullable
UUID uuid,
@NotNull
AgentStatus status,
@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 info
void 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
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 onList<String> getRemoteAgentLog()
void 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 otherwise
void stopRemoteAgent(@NotNull
BuildAgent agent)
void addRemoteAgentLogEntry(String logEntry)
void start()
throws Exception
Exception
void stopConnectors()
throws Exception
Exception
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||