public class LocalBuildAgentImpl extends BuildAgentImpl implements LocalBuildAgent
BuildAgent.BuildAgentVisitor
Constructor and Description |
---|
LocalBuildAgentImpl(LocalAgentDefinition definition,
ExecutableBuildAgent executableBuildAgent) |
Modifier and Type | Method and Description |
---|---|
AgentStatus |
getAgentStatus() |
ExecutableBuildAgent |
getExecutableBuildAgent()
The executable agent (which you can start/stop/build on) for the local agent.
|
boolean |
isActive() |
void |
setAgentStatus(AgentStatus newAgentStatus) |
accept, compareTo, equals, getDefinition, getId, getLastUpdated, getName, getRemoteTimestamp, getSystemInfo, getType, getUuid, hashCode, hasSystemInfo, hasUuid, isBusy, isDedicated, isEnabled, isRequestedToBeStopped, isUnresponsive, setDefinition, setLastUpdated, setRemoteTimestamp, setRequestedToBeStopped, setSystemInfo, setUnresponsive, setUuid, toString
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
accept, getDefinition, getId, getName, getType, isBusy, isDedicated, isEnabled, isRequestedToBeStopped, isUnresponsive, setDefinition, setRequestedToBeStopped, setUnresponsive
compareTo
public LocalBuildAgentImpl(@NotNull LocalAgentDefinition definition, @NotNull ExecutableBuildAgent executableBuildAgent)
@NotNull public AgentStatus getAgentStatus()
getAgentStatus
in interface BuildAgent
getAgentStatus
in class BuildAgentImpl
public void setAgentStatus(@NotNull AgentStatus newAgentStatus)
setAgentStatus
in class BuildAgentImpl
public boolean isActive()
isActive
in interface BuildAgent
isActive
in class BuildAgentImpl
@NotNull public ExecutableBuildAgent getExecutableBuildAgent()
LocalBuildAgent
getExecutableBuildAgent
in interface LocalBuildAgent
Copyright © 2021 Atlassian Software Systems Pty Ltd. All rights reserved.