Interface AgentStatus
-
- All Known Implementing Classes:
AbstractAgentStatus,AbstractBuildAwareAgentStatus,AgentBuildingStatus,AgentCancellingStatus,AgentIdleStatus,AgentOfflineStatus
public interface AgentStatusWhat the agent is doing?
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description @Nullable StringgetDisplayName()@NotNull StringgetIcon()@NotNull StringgetImagePath()Deprecated.since 9.0.@NotNull StringgetLabel()intgetOrderIndex()Used to order theAgentStatus@Nullable StringgetUrl()booleanisAllowDelete()booleanisIdle()Returns true if the agent idle at present.
-
-
-
Method Detail
-
getOrderIndex
int getOrderIndex()
Used to order theAgentStatus
-
getLabel
@NotNull @NotNull String getLabel()
- Returns:
- the label to display
-
getImagePath
@Deprecated @NotNull @NotNull String getImagePath()
Deprecated.since 9.0. UsegetIcon()with @ui.icon ftl template.- Returns:
- The image to use for this status
-
getIcon
@NotNull @NotNull String getIcon()
- Returns:
- the icon to use for this status
-
isAllowDelete
boolean isAllowDelete()
- Returns:
- true if the agent is allowed to be deleted when in this state
-
getUrl
@Nullable @Nullable String getUrl()
- Returns:
- The URL the status should point to. Will be prepended by the contextPath
-
getDisplayName
@Nullable @Nullable String getDisplayName()
- Returns:
- The display name for the thing that agent is building. Use in the UI.
-
isIdle
boolean isIdle()
Returns true if the agent idle at present.- Returns:
- agent idle status
-
-