Class AgentIdleStatus
- java.lang.Object
-
- com.atlassian.bamboo.v2.build.agent.AbstractAgentStatus
-
- com.atlassian.bamboo.v2.build.agent.AgentIdleStatus
-
- All Implemented Interfaces:
AgentStatus
public final class AgentIdleStatus 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 AgentIdleStatusgetInstance()@NotNull StringgetLabel()intgetOrderIndex()Used to order theAgentStatuscom.opensymphony.xwork2.TextProvidergetTextProvider()@Nullable StringgetUrl()inthashCode()booleanisAllowDelete()voidsetTextProvider(com.opensymphony.xwork2.TextProvider textProvider)StringtoString()-
Methods inherited from class com.atlassian.bamboo.v2.build.agent.AbstractAgentStatus
getDisplayName, isIdle
-
-
-
-
Method Detail
-
getInstance
public static AgentIdleStatus 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
-
getTextProvider
public com.opensymphony.xwork2.TextProvider getTextProvider()
-
setTextProvider
public void setTextProvider(com.opensymphony.xwork2.TextProvider textProvider)
-
-