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

java.lang.Object
  extended by com.atlassian.bamboo.v2.build.agent.AbstractAgentStatus
      extended by com.atlassian.bamboo.v2.build.agent.AbstractBuildAwareAgentStatus
All Implemented Interfaces:
AgentStatus
Direct Known Subclasses:
AgentBuildingStatus, AgentCancellingStatus

public abstract class AbstractBuildAwareAgentStatus
extends AbstractAgentStatus


Field Summary
protected  java.lang.String buildResultKey
           
protected  java.lang.String planKey
           
 
Constructor Summary
AbstractBuildAwareAgentStatus(java.lang.String planKey, java.lang.String buildResultKey)
           
 
Method Summary
 boolean equals(java.lang.Object o)
           
 java.lang.String getBuildResultKey()
           
 java.lang.String getPlanKey()
           
 java.lang.String getUrl()
          The URL the status should point to.
 int hashCode()
           
 boolean isAllowDelete()
          Returns true if the agent is allowed to be deleted when in this state
 
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
getImagePath, getLabel, getOrderIndex
 

Field Detail

buildResultKey

protected final java.lang.String buildResultKey

planKey

protected final java.lang.String planKey
Constructor Detail

AbstractBuildAwareAgentStatus

public AbstractBuildAwareAgentStatus(java.lang.String planKey,
                                     java.lang.String buildResultKey)
Method Detail

getUrl

@Nullable
public java.lang.String getUrl()
Description copied from interface: AgentStatus
The URL the status should point to. Will be prepended by the contextPath

Returns:

isAllowDelete

public boolean isAllowDelete()
Description copied from interface: AgentStatus
Returns true if the agent is allowed to be deleted when in this state

Returns:

getBuildResultKey

public java.lang.String getBuildResultKey()

getPlanKey

public java.lang.String getPlanKey()

equals

public boolean equals(java.lang.Object o)
Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object


Copyright © 2010 Atlassian. All Rights Reserved.