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
-
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
-