Class AbstractAgentStatus
- java.lang.Object
-
- com.atlassian.bamboo.v2.build.agent.AbstractAgentStatus
-
- All Implemented Interfaces:
AgentStatus
- Direct Known Subclasses:
AbstractBuildAwareAgentStatus
,AgentIdleStatus
,AgentOfflineStatus
public abstract class AbstractAgentStatus extends Object implements AgentStatus
What the agent is doing?
-
-
Constructor Summary
Constructors Constructor Description AbstractAgentStatus()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description @Nullable String
getDisplayName()
boolean
isIdle()
Returns true if the agent idle at present.-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.atlassian.bamboo.v2.build.agent.AgentStatus
getIcon, getImagePath, getLabel, getOrderIndex, getUrl, isAllowDelete
-
-
-
-
Method Detail
-
isIdle
public boolean isIdle()
Description copied from interface:AgentStatus
Returns true if the agent idle at present.- Specified by:
isIdle
in interfaceAgentStatus
- Returns:
- agent idle status
-
getDisplayName
@Nullable public @Nullable String getDisplayName()
- Specified by:
getDisplayName
in interfaceAgentStatus
- Returns:
- The display name for the thing that agent is building. Use in the UI.
-
-