|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.atlassian.bamboo.buildqueue.manager.RemoteAgentManagerImpl
public class RemoteAgentManagerImpl
| Constructor Summary | |
|---|---|
RemoteAgentManagerImpl()
|
|
| Method Summary | |
|---|---|
void |
bootstrapping(java.lang.String agentHostName)
Notifies the RemoteAgentManager that a remote agent has commenced bootstrapping. |
void |
checkOfflineAgents()
Runs a check for offline remote agents. |
java.util.LinkedList<java.lang.String> |
getRemoteAgentLog()
|
RemoteAgentDefinition |
registerAgent(RemoteAgentDefinition remoteAgentDefinition)
Initial setup / verification of the agent. |
void |
setBrokerService(org.apache.activemq.broker.BrokerService brokerService)
|
void |
setBuildExecutionManager(BuildExecutionManager buildExecutionManager)
|
void |
setErrorUpdateHander(ErrorUpdateHandler errorUpdateHander)
|
void |
setLocalAgentManager(LocalAgentManager localAgentManager)
|
void |
setPersister(Persister persister)
|
void |
setRemoteAgentFunctionEnabled(boolean remoteAgentFunctionEnabled)
Controls whether the remote agent functionality of Bamboo is enabled. |
void |
setUri(java.lang.String uri)
|
void |
start()
|
protected void |
updateNameForDuplicates(RemoteAgentDefinition remoteAgentDefinition)
|
boolean |
updateRemoteAgentStatus(java.lang.Long agentId,
AgentStatus status,
SystemInfo systemInfo)
Updates the BuildAgentImpl's status representing a remote agent on the local server. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public RemoteAgentManagerImpl()
| Method Detail |
|---|
@NotNull
public RemoteAgentDefinition registerAgent(@NotNull
RemoteAgentDefinition remoteAgentDefinition)
throws BambooLicenseException
RemoteAgentManager
registerAgent in interface RemoteAgentManagerremoteAgentDefinition - - id may be -1 if the build is new
BambooLicenseException
public boolean updateRemoteAgentStatus(@NotNull
java.lang.Long agentId,
@NotNull
AgentStatus status,
@NotNull
SystemInfo systemInfo)
RemoteAgentManagerBuildAgentImpl's status representing a remote agent on the local server.
updateRemoteAgentStatus in interface RemoteAgentManagerpublic void checkOfflineAgents()
RemoteAgentManager
checkOfflineAgents in interface RemoteAgentManagerpublic void bootstrapping(java.lang.String agentHostName)
RemoteAgentManagerNotifies the RemoteAgentManager that a remote agent has commenced bootstrapping.
bootstrapping in interface RemoteAgentManageragentHostName - The host name or IP address of the host on which the remote agent is running. null if unknown.protected void updateNameForDuplicates(RemoteAgentDefinition remoteAgentDefinition)
public void setRemoteAgentFunctionEnabled(boolean remoteAgentFunctionEnabled)
throws java.lang.Exception
RemoteAgentManagerControls whether the remote agent functionality of Bamboo is enabled.
setRemoteAgentFunctionEnabled in interface RemoteAgentManagerremoteAgentFunctionEnabled - true if remote agent functionality should be enabled; false otherwise.
java.lang.Exception
public void start()
throws java.lang.Exception
java.lang.Exceptionpublic void setLocalAgentManager(LocalAgentManager localAgentManager)
public void setBuildExecutionManager(BuildExecutionManager buildExecutionManager)
public void setErrorUpdateHander(ErrorUpdateHandler errorUpdateHander)
public void setPersister(Persister persister)
public java.util.LinkedList<java.lang.String> getRemoteAgentLog()
getRemoteAgentLog in interface RemoteAgentManagerpublic void setBrokerService(org.apache.activemq.broker.BrokerService brokerService)
public void setUri(java.lang.String uri)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||