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 void
addDirectory(String filePath)
protected void
deleteFile(String filePath, boolean deleteParentDirectoryIfEmpty, boolean isFile)
protected void
renameFile(String filePath, String newPath, boolean deleteParentDirectoryIfEmpty, boolean isFile)
protected void
replaceBinary(String filePath, long length, boolean newFile, LowLevelPatcherListener.ReadFileContent content)
protected void
replaceTextUsingBytes(String filePath, long size, byte[] sep, boolean newFile, LowLevelPatcherListener.ReadFileContent content)
protected void
setFileMode(String filePath, String fileMode)
protected void
setTimeStamp(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:
replaceTextUsingBytes
in classAbstractPatcher
- Throws:
IOException
-
setFileMode
protected void setFileMode(@NotNull String filePath, @NotNull String fileMode) throws IOException
- Specified by:
setFileMode
in classAbstractPatcher
- Throws:
IOException
-
replaceBinary
protected void replaceBinary(@NotNull String filePath, long length, boolean newFile, @NotNull LowLevelPatcherListener.ReadFileContent content) throws IOException
- Specified by:
replaceBinary
in classAbstractPatcher
- Throws:
IOException
-
setTimeStamp
protected void setTimeStamp(@NotNull String filePath, long timeStamp) throws IOException
- Specified by:
setTimeStamp
in classAbstractPatcher
- Throws:
IOException
-
deleteFile
protected void deleteFile(@NotNull String filePath, boolean deleteParentDirectoryIfEmpty, boolean isFile) throws IOException
- Specified by:
deleteFile
in classAbstractPatcher
- Throws:
IOException
-
renameFile
protected void renameFile(@NotNull String filePath, @NotNull String newPath, boolean deleteParentDirectoryIfEmpty, boolean isFile) throws IOException
- Specified by:
renameFile
in classAbstractPatcher
- Throws:
IOException
-
addDirectory
protected void addDirectory(@NotNull String filePath)
- Specified by:
addDirectory
in classAbstractPatcher
-
-