com.atlassian.bamboo.v2.build.agent
Interface AgentStatus

All Known Implementing Classes:
AbstractBuildAwareAgentStatus, AgentBuildingStatus, AgentCancellingStatus, AgentIdleStatus, AgentOfflineStatus

public interface AgentStatus

What the agent is doing?


Field Summary
static AgentStatus IDLE
           
static AgentStatus OFFLINE
           
 
Method Summary
 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.
 boolean isAllowDelete()
          Returns true if the agent is allowed to be deleted when in this state
 

Field Detail

IDLE

static final AgentStatus IDLE

OFFLINE

static final AgentStatus OFFLINE
Method Detail

getOrderIndex

int getOrderIndex()
Used to order the AgentStatus

Returns:

getLabel

@NotNull
java.lang.String getLabel()
The label to display

Returns:

getImagePath

@NotNull
java.lang.String getImagePath()
The image to use for this status

Returns:

isAllowDelete

boolean isAllowDelete()
Returns true if the agent is allowed to be deleted when in this state

Returns:

getUrl

@Nullable
java.lang.String getUrl()
The URL the status should point to. Will be prepended by the contextPath

Returns:


Copyright © 2009 Atlassian Pty Ltd. All Rights Reserved.