Interface AgentStatus
-
- All Known Implementing Classes:
AbstractAgentStatus
,AbstractBuildAwareAgentStatus
,AgentBuildingStatus
,AgentCancellingStatus
,AgentIdleStatus
,AgentOfflineStatus
public interface AgentStatus
What the agent is doing?
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description @Nullable String
getDisplayName()
@NotNull String
getIcon()
@NotNull String
getImagePath()
Deprecated.since 9.0.@NotNull String
getLabel()
int
getOrderIndex()
Used to order theAgentStatus
@Nullable String
getUrl()
boolean
isAllowDelete()
boolean
isIdle()
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
-
-