com.atlassian.bamboo.v2.build.agent
Class LocalBuildAgentImpl

java.lang.Object
  extended by com.atlassian.bamboo.v2.build.agent.BuildAgentImpl
      extended by com.atlassian.bamboo.v2.build.agent.LocalBuildAgentImpl
All Implemented Interfaces:
BuildAgent, LocalBuildAgent, java.lang.Comparable<BuildAgent>

public class LocalBuildAgentImpl
extends BuildAgentImpl
implements LocalBuildAgent


Nested Class Summary
 
Nested classes/interfaces inherited from interface com.atlassian.bamboo.v2.build.agent.BuildAgent
BuildAgent.BuildAgentVisitor
 
Constructor Summary
LocalBuildAgentImpl(LocalAgentDefinition definition, ExecutableBuildAgent executableBuildAgent)
           
 
Method Summary
 AgentStatus getAgentStatus()
           
 ExecutableBuildAgent getExecutableBuildAgent()
          The executable agent (which you can start/stop/build on) for the local agent.
 boolean isActive()
           
 
Methods inherited from class com.atlassian.bamboo.v2.build.agent.BuildAgentImpl
accept, compareTo, equals, getDefinition, getId, getLastUpdated, getName, getRemoteTimestamp, getSystemInfo, hashCode, isEnabled, isRequestedToBeStopped, isUnresponsive, setAgentStatus, setDefinition, setLastUpdated, setRemoteTimestamp, setRequestedToBeStopped, setSystemInfo, setUnresponsive, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface com.atlassian.bamboo.v2.build.agent.BuildAgent
accept, getDefinition, getId, getName, isEnabled, isRequestedToBeStopped, isUnresponsive, setDefinition, setRequestedToBeStopped, setUnresponsive
 
Methods inherited from interface java.lang.Comparable
compareTo
 

Constructor Detail

LocalBuildAgentImpl

public LocalBuildAgentImpl(@NotNull
                           LocalAgentDefinition definition,
                           @NotNull
                           ExecutableBuildAgent executableBuildAgent)
Method Detail

getAgentStatus

public AgentStatus getAgentStatus()
Specified by:
getAgentStatus in interface BuildAgent
Overrides:
getAgentStatus in class BuildAgentImpl

isActive

public boolean isActive()
Specified by:
isActive in interface BuildAgent
Overrides:
isActive in class BuildAgentImpl

getExecutableBuildAgent

@NotNull
public ExecutableBuildAgent getExecutableBuildAgent()
Description copied from interface: LocalBuildAgent
The executable agent (which you can start/stop/build on) for the local agent.

Specified by:
getExecutableBuildAgent in interface LocalBuildAgent
Returns:


Copyright © 2009 Atlassian Pty Ltd. All Rights Reserved.