Class VerifyingPatcher
- java.lang.Object
-
- jetbrains.buildServer.vcs.patches.InterruptablePatcherBase
-
- jetbrains.buildServer.vcs.patches.AbstractPatcher
-
- jetbrains.buildServer.vcs.patches.VerifyingPatcher
-
- All Implemented Interfaces:
Patcher
public class VerifyingPatcher extends AbstractPatcher
-
-
Constructor Summary
Constructors Constructor Description VerifyingPatcher(DataInputStream input)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidaddDirectory(String filePath)protected voiddeleteFile(String filePath, boolean deleteParentDirectoryIfEmpty, boolean isFile)protected voidrenameFile(String filePath, String newPath, boolean deleteParentDirectoryIfEmpty, boolean isFile)protected voidreplaceBinary(String filePath, long length, boolean newFile, LowLevelPatcherListener.ReadFileContent content)protected voidreplaceTextUsingBytes(String filePath, long size, byte[] sep, boolean newFile, LowLevelPatcherListener.ReadFileContent content)protected voidsetFileMode(String filePath, String fileMode)protected voidsetTimeStamp(String filePath, long timeStamp)-
Methods inherited from class jetbrains.buildServer.vcs.patches.AbstractPatcher
applyPatch, close, interrupt, patchFailed, patchSucceeded
-
Methods inherited from class jetbrains.buildServer.vcs.patches.InterruptablePatcherBase
checkInterrupted
-
-
-
-
Constructor Detail
-
VerifyingPatcher
public VerifyingPatcher(DataInputStream input)
-
-
Method Detail
-
replaceTextUsingBytes
protected void replaceTextUsingBytes(@NotNull String filePath, long size, @NotNull byte[] sep, boolean newFile, @NotNull LowLevelPatcherListener.ReadFileContent content) throws IOException- Specified by:
replaceTextUsingBytesin classAbstractPatcher- Throws:
IOException
-
setFileMode
protected void setFileMode(@NotNull String filePath, @NotNull String fileMode) throws IOException- Specified by:
setFileModein classAbstractPatcher- Throws:
IOException
-
replaceBinary
protected void replaceBinary(@NotNull String filePath, long length, boolean newFile, @NotNull LowLevelPatcherListener.ReadFileContent content) throws IOException- Specified by:
replaceBinaryin classAbstractPatcher- Throws:
IOException
-
setTimeStamp
protected void setTimeStamp(@NotNull String filePath, long timeStamp) throws IOException- Specified by:
setTimeStampin classAbstractPatcher- Throws:
IOException
-
deleteFile
protected void deleteFile(@NotNull String filePath, boolean deleteParentDirectoryIfEmpty, boolean isFile) throws IOException- Specified by:
deleteFilein classAbstractPatcher- Throws:
IOException
-
renameFile
protected void renameFile(@NotNull String filePath, @NotNull String newPath, boolean deleteParentDirectoryIfEmpty, boolean isFile) throws IOException- Specified by:
renameFilein classAbstractPatcher- Throws:
IOException
-
addDirectory
protected void addDirectory(@NotNull String filePath)- Specified by:
addDirectoryin classAbstractPatcher
-
-