Class PatchStreamProviderImpl
- java.lang.Object
-
- jetbrains.buildServer.agent.impl.patch.PatchStreamProviderImpl
-
- All Implemented Interfaces:
PatchStreamProvider,Interruptable
public class PatchStreamProviderImpl extends Object implements PatchStreamProvider
-
-
Constructor Summary
Constructors Constructor Description PatchStreamProviderImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidappendParameters(StringBuilder uriBuf, AgentRunningBuild agentBuild, FullCheckoutFlag fullCheckoutFlag, boolean isPersonalChangesPatch)voiddispose()InputStreamgetPatchesStream(AgentRunningBuild agentBuild, AgentCheckoutDirRevisionInfo dirInfo, FullCheckoutFlag fullCheckoutFlag, boolean isPersonalChangesPatch)ServerStreamProvider.StreamWithHeadersgetPatchesStreamWithHeaders(AgentRunningBuild agentBuild, AgentCheckoutDirRevisionInfo dirInfo, FullCheckoutFlag fullCheckoutFlag, boolean isPersonalChangesPatch)voidinterrupt()
-
-
-
Method Detail
-
getPatchesStream
@NotNull public InputStream getPatchesStream(@NotNull AgentRunningBuild agentBuild, @NotNull AgentCheckoutDirRevisionInfo dirInfo, @NotNull FullCheckoutFlag fullCheckoutFlag, boolean isPersonalChangesPatch) throws IOException
- Specified by:
getPatchesStreamin interfacePatchStreamProvider- Throws:
IOException
-
getPatchesStreamWithHeaders
@NotNull public ServerStreamProvider.StreamWithHeaders getPatchesStreamWithHeaders(@NotNull AgentRunningBuild agentBuild, @NotNull AgentCheckoutDirRevisionInfo dirInfo, @NotNull FullCheckoutFlag fullCheckoutFlag, boolean isPersonalChangesPatch) throws IOException
- Specified by:
getPatchesStreamWithHeadersin interfacePatchStreamProvider- Throws:
IOException
-
appendParameters
protected void appendParameters(@NotNull StringBuilder uriBuf, @NotNull AgentRunningBuild agentBuild, @NotNull FullCheckoutFlag fullCheckoutFlag, boolean isPersonalChangesPatch)
-
dispose
public void dispose()
- Specified by:
disposein interfacePatchStreamProvider
-
interrupt
public void interrupt()
- Specified by:
interruptin interfaceInterruptable
-
-