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

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

public final class AgentIdleStatus
extends AbstractAgentStatus


Method Summary
 boolean equals(java.lang.Object o)
           
 java.lang.String getImagePath()
          The image to use for this status
static AgentIdleStatus getInstance()
           
 java.lang.String getLabel()
          The label to display
 int getOrderIndex()
          Used to order the AgentStatus
 com.opensymphony.xwork.TextProvider getTextProvider()
           
 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
 void setTextProvider(com.opensymphony.xwork.TextProvider textProvider)
           
 java.lang.String toString()
           
 
Methods inherited from class com.atlassian.bamboo.v2.build.agent.AbstractAgentStatus
isIdle
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Method Detail

getInstance

public static AgentIdleStatus getInstance()

getOrderIndex

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

Returns:

getLabel

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

Returns:

getImagePath

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

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

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:

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

getTextProvider

public com.opensymphony.xwork.TextProvider getTextProvider()

setTextProvider

public void setTextProvider(com.opensymphony.xwork.TextProvider textProvider)


Copyright © 2012 Atlassian. All Rights Reserved.