Class PatchKeepAlive


  • public class PatchKeepAlive
    extends Object
    • Method Detail

      • runWithKeepAlive

        public void runWithKeepAlive​(@NotNull
                                     LowLevelPatchBuilder original,
                                     @NotNull
                                     jetbrains.buildServer.serverSide.impl.projectSources.PatchKeepAlive.BuildPatchAction action)
                              throws IOException
        Runs the given action and keeps the patch stream alive in background by periodically writing NO_OP
        Parameters:
        original - patchBuilder to wrap into KeepAliveBuilder, will be passed as an argument to the provided action
        action - action to run
        Throws:
        IOException - in case of the error