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 void
appendParameters(StringBuilder uriBuf, AgentRunningBuild agentBuild, FullCheckoutFlag fullCheckoutFlag, boolean isPersonalChangesPatch)
void
dispose()
InputStream
getPatchesStream(AgentRunningBuild agentBuild, AgentCheckoutDirRevisionInfo dirInfo, FullCheckoutFlag fullCheckoutFlag, boolean isPersonalChangesPatch)
ServerStreamProvider.StreamWithHeaders
getPatchesStreamWithHeaders(AgentRunningBuild agentBuild, AgentCheckoutDirRevisionInfo dirInfo, FullCheckoutFlag fullCheckoutFlag, boolean isPersonalChangesPatch)
void
interrupt()
-
-
-
Method Detail
-
getPatchesStream
@NotNull public InputStream getPatchesStream(@NotNull AgentRunningBuild agentBuild, @NotNull AgentCheckoutDirRevisionInfo dirInfo, @NotNull FullCheckoutFlag fullCheckoutFlag, boolean isPersonalChangesPatch) throws IOException
- Specified by:
getPatchesStream
in interfacePatchStreamProvider
- Throws:
IOException
-
getPatchesStreamWithHeaders
@NotNull public ServerStreamProvider.StreamWithHeaders getPatchesStreamWithHeaders(@NotNull AgentRunningBuild agentBuild, @NotNull AgentCheckoutDirRevisionInfo dirInfo, @NotNull FullCheckoutFlag fullCheckoutFlag, boolean isPersonalChangesPatch) throws IOException
- Specified by:
getPatchesStreamWithHeaders
in interfacePatchStreamProvider
- Throws:
IOException
-
appendParameters
protected void appendParameters(@NotNull StringBuilder uriBuf, @NotNull AgentRunningBuild agentBuild, @NotNull FullCheckoutFlag fullCheckoutFlag, boolean isPersonalChangesPatch)
-
dispose
public void dispose()
- Specified by:
dispose
in interfacePatchStreamProvider
-
interrupt
public void interrupt()
- Specified by:
interrupt
in interfaceInterruptable
-
-