Class LocalBuildAgentImpl
java.lang.Object
com.atlassian.bamboo.v2.build.agent.BuildAgentImpl
com.atlassian.bamboo.v2.build.agent.LocalBuildAgentImpl
- All Implemented Interfaces:
BambooIdProvider
,NameProvider
,BuildAgent
,HasSystemInfo
,HasUuid
,LocalBuildAgent
,Comparable<BuildAgent>
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.atlassian.bamboo.v2.build.agent.BuildAgent
BuildAgent.BuildAgentVisitor
-
Field Summary
Fields inherited from interface com.atlassian.bamboo.v2.build.agent.BuildAgent
EPHEMERAL_AGENT_TEMPLATE_ID_KEY, EPHEMERAL_AGENT_TEMPLATE_NAME_KEY
-
Constructor Summary
ConstructorsConstructorDescriptionLocalBuildAgentImpl
(@NotNull LocalAgentDefinition definition, @NotNull ExecutableBuildAgent executableBuildAgent) -
Method Summary
Modifier and TypeMethodDescription@NotNull AgentStatus
@NotNull ExecutableBuildAgent
The executable agent (which you can start/stop/build on) for the local agent.boolean
isActive()
void
setAgentStatus
(@NotNull AgentStatus newAgentStatus) Methods inherited from class com.atlassian.bamboo.v2.build.agent.BuildAgentImpl
accept, compareTo, equals, getDefinition, getId, getLastUpdated, getName, getRemoteTimestamp, getSystemInfo, getType, getUuid, hashCode, hasSystemInfo, hasUuid, incrementAndGetHeartbeatsWhileBuildingCounter, isBusy, isDedicated, isEnabled, isRequestedToBeStopped, isUnresponsive, resetHeartbeatsWhileBuildingCounter, setDefinition, setLastUpdated, setRemoteTimestamp, setRequestedToBeStopped, setSystemInfo, setUnresponsive, setUuid, 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, getType, isBusy, isDedicated, isEnabled, isRequestedToBeStopped, isUnresponsive, setDefinition, setRequestedToBeStopped, setUnresponsive
Methods inherited from interface java.lang.Comparable
compareTo
-
Constructor Details
-
LocalBuildAgentImpl
public LocalBuildAgentImpl(@NotNull @NotNull LocalAgentDefinition definition, @NotNull @NotNull ExecutableBuildAgent executableBuildAgent)
-
-
Method Details
-
getAgentStatus
- Specified by:
getAgentStatus
in interfaceBuildAgent
- Overrides:
getAgentStatus
in classBuildAgentImpl
-
setAgentStatus
- Overrides:
setAgentStatus
in classBuildAgentImpl
-
isActive
public boolean isActive()- Specified by:
isActive
in interfaceBuildAgent
- Overrides:
isActive
in classBuildAgentImpl
-
getExecutableBuildAgent
Description copied from interface:LocalBuildAgent
The executable agent (which you can start/stop/build on) for the local agent.- Specified by:
getExecutableBuildAgent
in interfaceLocalBuildAgent
- Returns:
-