Interface VirtualAgent
-
- All Known Subinterfaces:
StartableAgent
- All Known Implementing Classes:
RunningVirtualAgent
,StartableAgentImpl
,VirtualAgentImpl
public interface VirtualAgent
Virtual agent base interface- Since:
- 5.0
- Author:
- Eugene Petrenko
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description SAgentType
getAgentType()
StartableAgentType
getStartableAgentType()
boolean
hasConnectedAgents()
boolean
hasRunningBuilds()
boolean
isDisabled()
-
-
-
Method Detail
-
getStartableAgentType
@NotNull StartableAgentType getStartableAgentType()
- Returns:
- SratableAgentType for this agent
-
getAgentType
@Nullable SAgentType getAgentType()
- Returns:
- agent description for this reference
-
hasRunningBuilds
boolean hasRunningBuilds()
- Returns:
- true if all associated agents has running builds
- Since:
- 7.1.2
-
hasConnectedAgents
boolean hasConnectedAgents()
- Returns:
- true if all associated agents are up-to-date and connected
- Since:
- 7.1.2
-
isDisabled
boolean isDisabled()
- Returns:
- true if this agent was explicitly disabled, so should not be calculated towards running cloud instances
- Since:
- 2020.1.2
-
-