Interface StartableAgent
-
- All Superinterfaces:
VirtualAgent
- All Known Implementing Classes:
StartableAgentImpl
public interface StartableAgent extends VirtualAgent
Descripbes startable agent instance.- Author:
- Eugene Petrenko
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classStartableAgent.Reason
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description booleancanStart()voidstartAgent(StartableAgent.Reason reason)Starts that agent-
Methods inherited from interface jetbrains.buildServer.serverSide.impl.virtualAgent.VirtualAgent
getAgentType, getStartableAgentType, hasConnectedAgents, hasRunningBuilds, isDisabled
-
-
-
-
Method Detail
-
startAgent
void startAgent(@NotNull StartableAgent.Reason reason) throws StartAgentQuotaExceededExceptionStarts that agent- Parameters:
reason- reason of starting the instance- Throws:
StartAgentQuotaExceededException- if start is not allowed due to the quota
-
canStart
boolean canStart()
- Returns:
- true if this agent can be started
- Since:
- 10.0
-
-