public class RemoteBuildAgent extends DefaultBuildAgent implements org.springframework.context.ApplicationContextAware
Constructor and Description |
---|
RemoteBuildAgent(AgentConfiguration agentConfiguration,
RemoteAgentPluginEventHandlerImpl deferredEventsHandler,
int heartbeatIntervalSeconds) |
Modifier and Type | Method and Description |
---|---|
protected void |
onBetweenBuilds() |
void |
onContextReceived()
This method is called when the agent has just retrieved a context from queue
|
protected void |
onMainThreadFinished() |
void |
setApplicationContext(org.springframework.context.ApplicationContext applicationContext) |
protected void |
shutdown() |
build, cancelBuild, compareTo, disable, enable, equals, getAgentStatus, getBuilding, getDescription, getId, getName, hashCode, incrementError, isActive, isCancelling, isEnabled, isStopping, onBuildProcessingFinished, resetErrors, setContextToBuild, start, stop, stopNicely, waitForStop
public RemoteBuildAgent(AgentConfiguration agentConfiguration, RemoteAgentPluginEventHandlerImpl deferredEventsHandler, int heartbeatIntervalSeconds)
public void setApplicationContext(org.springframework.context.ApplicationContext applicationContext) throws org.springframework.beans.BeansException
setApplicationContext
in interface org.springframework.context.ApplicationContextAware
org.springframework.beans.BeansException
protected void shutdown()
shutdown
in class DefaultBuildAgent
protected void onMainThreadFinished()
onMainThreadFinished
in class DefaultBuildAgent
public void onContextReceived()
ExecutableBuildAgent
onContextReceived
in interface ExecutableBuildAgent
onContextReceived
in class DefaultBuildAgent
protected void onBetweenBuilds()
onBetweenBuilds
in class DefaultBuildAgent
Copyright © 2016 Atlassian Software Systems Pty Ltd. All rights reserved.