Class ProjectSourcesOnAgent
- java.lang.Object
-
- jetbrains.buildServer.agent.impl.patch.ProjectSourcesOnAgent
-
- All Implemented Interfaces:
Interruptable
public class ProjectSourcesOnAgent extends Object implements Interruptable
- Author:
- Eugene Petrenko Created: 26.01.2009 16:44:51
-
-
Field Summary
Fields Modifier and Type Field Description static String
CANNOT_STOP_MSG
static long
WAIT_TO_STOP_SEC
-
Constructor Summary
Constructors Constructor Description ProjectSourcesOnAgent(AgentVcsManagerEx vcsManager, SmartDirectoryCleaner cleaner)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
checkoutSources(AgentRunningBuildEx build)
void
interrupt()
Interrupt checkout on agentvoid
setWaitToStopMsecs(long waitToStopMsecs)
-
-
-
Field Detail
-
CANNOT_STOP_MSG
public static final String CANNOT_STOP_MSG
- See Also:
- Constant Field Values
-
WAIT_TO_STOP_SEC
public static final long WAIT_TO_STOP_SEC
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
ProjectSourcesOnAgent
public ProjectSourcesOnAgent(@NotNull AgentVcsManagerEx vcsManager, @NotNull SmartDirectoryCleaner cleaner)
-
-
Method Detail
-
checkoutSources
public void checkoutSources(@NotNull AgentRunningBuildEx build) throws VcsException, RunBuildException, RecoverableStageFailure, UpdateSourcesInterruptedException
-
setWaitToStopMsecs
public void setWaitToStopMsecs(long waitToStopMsecs)
-
interrupt
public void interrupt()
Interrupt checkout on agent- Specified by:
interrupt
in interfaceInterruptable
-
-