|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface RemoteAgentManager
Manages the interactions with remote agents
Method Summary | |
---|---|
void |
addRemoteAgentLogEntry(java.lang.String logEntry)
|
void |
bootstrapping(java.lang.String agentHostName)
Notifies the RemoteAgentManager that a remote agent has commenced bootstrapping. |
void |
bootstrappingElastic(java.lang.String agentHostName,
java.lang.String instanceId)
Notifies the RemoteAgentManager that an elastic agent has commenced bootstrapping. |
void |
checkOfflineAgents()
Runs a check for offline remote agents. |
java.util.List<java.lang.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(java.lang.Long agentId,
java.util.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 java.lang.Long agentId, @Nullable java.util.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(java.lang.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(java.lang.String agentHostName, @Nullable java.lang.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 onjava.util.List<java.lang.String> getRemoteAgentLog()
void setRemoteAgentFunctionEnabled(boolean remoteAgentFunctionEnabled) throws java.lang.Exception
Controls whether the remote agent functionality of Bamboo is enabled.
remoteAgentFunctionEnabled
- true
if remote agent functionality should be enabled; false
otherwise.
java.lang.Exception
- on any errorboolean isRemoteAgentFunctionEnabled()
true
, if remote agent functionality is enabled, false
otherwisevoid stopRemoteAgent(@NotNull BuildAgent agent)
void addRemoteAgentLogEntry(java.lang.String logEntry)
void start() throws java.lang.Exception
java.lang.Exception
void stopConnectors() throws java.lang.Exception
java.lang.Exception
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |