Class ServiceMode
- java.lang.Object
-
- jetbrains.buildServer.agent.impl.operationModes.ServiceMode
-
- All Implemented Interfaces:
AgentOperationMode
,AgentOperationModeEx
public class ServiceMode extends Object implements AgentOperationModeEx
The agent will try to register on the TeamCity Server and will be ready to receive a build from the server.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface jetbrains.buildServer.agent.AgentOperationModeEx
AgentOperationModeEx.StagesProcessor
-
-
Constructor Summary
Constructors Constructor Description ServiceMode(BuildAgentEx buildAgent)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
beforeAgentStart()
boolean
isRegistrationOnServerSupported()
Returns true if the agent should register on the server.-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface jetbrains.buildServer.agent.AgentOperationModeEx
executeRunnerStages, onAgentStart, onBuildFinish, onRunnersFinished, shouldCleanTempDirectories
-
-
-
-
Constructor Detail
-
ServiceMode
public ServiceMode(@NotNull BuildAgentEx buildAgent)
-
-
Method Detail
-
isRegistrationOnServerSupported
public boolean isRegistrationOnServerSupported()
Description copied from interface:AgentOperationMode
Returns true if the agent should register on the server.- Specified by:
isRegistrationOnServerSupported
in interfaceAgentOperationMode
- Returns:
- see above
-
beforeAgentStart
public void beforeAgentStart()
- Specified by:
beforeAgentStart
in interfaceAgentOperationModeEx
-
-