Class AbstractFSPatcher

    • Constructor Detail

      • AbstractFSPatcher

        protected AbstractFSPatcher​(@NotNull
                                    DataInputStream input,
                                    @NotNull
                                    File dir)
    • Method Detail

      • applyPatch

        public void applyPatch()
                        throws IOException
        Description copied from interface: Patcher
        Applies patch.
        Specified by:
        applyPatch in interface Patcher
        Throws:
        IOException - some file system operation failed or patch process terminated with see jetbrains.buildServer.vcs.patches.InterruptedPatchException or some problem occurred during the patch process (see jetbrains.buildServer.vcs.patches.UnsuccessfulPatchException).
      • close

        public void close()
        Description copied from interface: Patcher
        Disposes the patcher process.
        Specified by:
        close in interface Patcher
      • interrupt

        public void interrupt()
        Description copied from interface: Patcher
        Interrupts patching process. Patcher.applyPatch() may throw {see jetbrains.buildServer.vcs.patches.InterruptedPatchException}
        Specified by:
        interrupt in interface Patcher
      • getLocalFile

        protected File getLocalFile​(@NotNull
                                    String path)