Class AgentOfflineStatus
- java.lang.Object
-
- com.atlassian.bamboo.v2.build.agent.AbstractAgentStatus
-
- com.atlassian.bamboo.v2.build.agent.AgentOfflineStatus
-
- All Implemented Interfaces:
AgentStatus
public final class AgentOfflineStatus extends AbstractAgentStatus
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object o)
@NotNull String
getIcon()
@NotNull String
getImagePath()
static AgentStatus
getInstance()
@NotNull String
getLabel()
int
getOrderIndex()
Used to order theAgentStatus
@Nullable String
getUrl()
int
hashCode()
boolean
isAllowDelete()
String
toString()
-
Methods inherited from class com.atlassian.bamboo.v2.build.agent.AbstractAgentStatus
getDisplayName, isIdle
-
-
-
-
Method Detail
-
getInstance
public static AgentStatus getInstance()
-
getOrderIndex
public int getOrderIndex()
Description copied from interface:AgentStatus
Used to order theAgentStatus
-
getLabel
@NotNull public @NotNull String getLabel()
- Returns:
- the label to display
-
getImagePath
@NotNull public @NotNull String getImagePath()
- Returns:
- The image to use for this status
-
getIcon
@NotNull public @NotNull String getIcon()
- Returns:
- the icon to use for this status
-
getUrl
@Nullable public @Nullable String getUrl()
- Returns:
- The URL the status should point to. Will be prepended by the contextPath
-
isAllowDelete
public boolean isAllowDelete()
- Returns:
- true if the agent is allowed to be deleted when in this state
-
-