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 booleanequals(Object o)@NotNull StringgetIcon()@NotNull StringgetImagePath()static AgentStatusgetInstance()@NotNull StringgetLabel()intgetOrderIndex()Used to order theAgentStatus@Nullable StringgetUrl()inthashCode()booleanisAllowDelete()StringtoString()-
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:AgentStatusUsed 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
-
-