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

java.lang.Object
  extended by com.atlassian.bamboo.v2.build.agent.AgentIdleStatus
All Implemented Interfaces:
AgentStatus

public class AgentIdleStatus
extends java.lang.Object
implements AgentStatus


Field Summary
 
Fields inherited from interface com.atlassian.bamboo.v2.build.agent.AgentStatus
IDLE, OFFLINE
 
Constructor Summary
AgentIdleStatus()
           
 
Method Summary
 boolean equals(java.lang.Object o)
           
 java.lang.String getImagePath()
          The image to use for this status
 java.lang.String getLabel()
          The label to display
 int getOrderIndex()
          Used to order the AgentStatus
 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
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

AgentIdleStatus

public AgentIdleStatus()
Method Detail

getOrderIndex

public int getOrderIndex()
Description copied from interface: AgentStatus
Used to order the AgentStatus

Specified by:
getOrderIndex in interface AgentStatus
Returns:

getLabel

@NotNull
public java.lang.String getLabel()
Description copied from interface: AgentStatus
The label to display

Specified by:
getLabel in interface AgentStatus
Returns:

getImagePath

@NotNull
public java.lang.String getImagePath()
Description copied from interface: AgentStatus
The image to use for this status

Specified by:
getImagePath in interface AgentStatus
Returns:

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

Specified by:
getUrl in interface AgentStatus
Returns:

isAllowDelete

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

Specified by:
isAllowDelete in interface AgentStatus
Returns:

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

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 © 2009 Atlassian Pty Ltd. All Rights Reserved.