Interface AgentStatus
- All Known Implementing Classes:
AbstractAgentStatus
,AbstractBuildAwareAgentStatus
,AgentBuildingStatus
,AgentCancellingStatus
,AgentIdleStatus
,AgentOfflineStatus
public interface AgentStatus
What the agent is doing?
-
Method Details
-
getOrderIndex
int getOrderIndex()Used to order theAgentStatus
-
getLabel
- Returns:
- the label to display
-
getImagePath
Deprecated.since 9.0. UsegetIcon()
with @ui.icon ftl template.- Returns:
- The image to use for this status
-
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
- Returns:
- The URL the status should point to. Will be prepended by the contextPath
-
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
-