Class PatchDownloaderImpl
- java.lang.Object
-
- jetbrains.buildServer.agent.impl.patch.UpdateSourcesOperationBase
-
- jetbrains.buildServer.agent.impl.patch.PatchDownloaderImpl
-
- All Implemented Interfaces:
PatchDownloader
,Interruptable
public class PatchDownloaderImpl extends UpdateSourcesOperationBase implements PatchDownloader
-
-
Constructor Summary
Constructors Constructor Description PatchDownloaderImpl(AgentRunningBuild build, PatchTempFiles patchTempFiles, PatchStreamProviderFactory patchProviderFactory, PatchApplier applier, PatchStreamDownloader downloader)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description InputStream
copyPatchAndCheck(AgentCheckoutDirRevisionInfo dirInfo, FullCheckoutFlag fullCheckoutFlag, boolean personalChangesPatch)
DownloadedPatch
copyPatchAndCheckFile(AgentCheckoutDirRevisionInfo dirInfo, FullCheckoutFlag fullCheckoutFlag, boolean personalChangesPatch)
-
Methods inherited from class jetbrains.buildServer.agent.impl.patch.UpdateSourcesOperationBase
checkInterrupted, interrupt, isInterrupted, onInterruptOperation, registerSupOperation, unregisterSupOperation
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface jetbrains.buildServer.util.Interruptable
interrupt
-
-
-
-
Constructor Detail
-
PatchDownloaderImpl
public PatchDownloaderImpl(@NotNull AgentRunningBuild build, @NotNull PatchTempFiles patchTempFiles, @NotNull PatchStreamProviderFactory patchProviderFactory, @NotNull PatchApplier applier, @NotNull PatchStreamDownloader downloader)
-
-
Method Detail
-
copyPatchAndCheckFile
public DownloadedPatch copyPatchAndCheckFile(@NotNull AgentCheckoutDirRevisionInfo dirInfo, @NotNull FullCheckoutFlag fullCheckoutFlag, boolean personalChangesPatch) throws IOException, RecoverableStageFailure, UpdateSourcesInterruptedException
- Specified by:
copyPatchAndCheckFile
in interfacePatchDownloader
- Throws:
IOException
RecoverableStageFailure
UpdateSourcesInterruptedException
-
copyPatchAndCheck
public InputStream copyPatchAndCheck(@NotNull AgentCheckoutDirRevisionInfo dirInfo, @NotNull FullCheckoutFlag fullCheckoutFlag, boolean personalChangesPatch) throws IOException, RecoverableStageFailure, UpdateSourcesInterruptedException
- Specified by:
copyPatchAndCheck
in interfacePatchDownloader
- Throws:
IOException
RecoverableStageFailure
UpdateSourcesInterruptedException
-
-