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

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

public final class AgentOfflineStatus
extends AbstractAgentStatus


Method Summary
 boolean equals(java.lang.Object o)
           
 java.lang.String getImagePath()
          The image to use for this status
static AgentStatus getInstance()
           
 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 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 AgentStatus 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


Copyright © 2012 Atlassian. All Rights Reserved.