Class AbstractBuildAwareAgentStatus
java.lang.Object
com.atlassian.bamboo.v2.build.agent.AbstractAgentStatus
com.atlassian.bamboo.v2.build.agent.AbstractBuildAwareAgentStatus
- All Implemented Interfaces:
AgentStatus
- Direct Known Subclasses:
AgentBuildingStatus
,AgentCancellingStatus
-
Field Summary
-
Constructor Summary
ConstructorDescriptionAbstractBuildAwareAgentStatus
(ResultKey resultKey, String displayName, long deploymentResultId) -
Method Summary
Methods inherited from class com.atlassian.bamboo.v2.build.agent.AbstractAgentStatus
isIdle
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.atlassian.bamboo.v2.build.agent.AgentStatus
getIcon, getLabel, getOrderIndex
-
Field Details
-
resultKey
-
displayName
-
deploymentResultId
protected final long deploymentResultId
-
-
Constructor Details
-
AbstractBuildAwareAgentStatus
-
-
Method Details
-
getUrl
- Returns:
- The URL the status should point to. Will be prepended by the contextPath
-
isAllowDelete
public boolean isAllowDelete()- Returns:
- true if the agent is allowed to be deleted when in this state
-
getDisplayName
- Specified by:
getDisplayName
in interfaceAgentStatus
- Overrides:
getDisplayName
in classAbstractAgentStatus
- Returns:
- The display name for the thing that agent is building. Use in the UI.
-
getResultKey
-
equals
-
hashCode
public int hashCode()
-