Class LowLevelPatchAdapter
- java.lang.Object
-
- jetbrains.buildServer.vcs.patches.LowLevelPatchAdapter
-
- All Implemented Interfaces:
LowLevelPatch<LowLevelPatcherListener.ReadFileContent,String>,LowLevelPatcherListener
public class LowLevelPatchAdapter extends Object implements LowLevelPatcherListener
Created by IntelliJ IDEA. User: Eugene.Petrenko Date: 31.07.2007 Time: 16:16:47
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface jetbrains.buildServer.vcs.patches.LowLevelPatcherListener
LowLevelPatcherListener.ReadFileContent
-
-
Constructor Summary
Constructors Constructor Description LowLevelPatchAdapter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddDirectory(String file)voidchangeBinary(String file, long length, LowLevelPatcherListener.ReadFileContent content, boolean create)voidchangeTextUsingBytes(String file, byte[] lineSeparator, long length, LowLevelPatcherListener.ReadFileContent content, boolean create)voiddelete(String file, boolean isFile, boolean emptyParent)voidexit(String message)voidfail(String message)voidrename(String oldName, String newName, boolean isFile, boolean emptyParent)voidsetFileMode(String file, String mode)voidsetTimeStamp(String file, long timestamp)voidsetWorkingDirectory(String file)
-
-
-
Method Detail
-
delete
public void delete(@NotNull String file, boolean isFile, boolean emptyParent) throws IOException- Specified by:
deletein interfaceLowLevelPatch<LowLevelPatcherListener.ReadFileContent,String>- Throws:
IOException
-
rename
public void rename(@NotNull String oldName, @NotNull String newName, boolean isFile, boolean emptyParent) throws IOException- Specified by:
renamein interfaceLowLevelPatch<LowLevelPatcherListener.ReadFileContent,String>- Throws:
IOException
-
setTimeStamp
public void setTimeStamp(@NotNull String file, long timestamp) throws IOException- Specified by:
setTimeStampin interfaceLowLevelPatch<LowLevelPatcherListener.ReadFileContent,String>- Throws:
IOException
-
setFileMode
public void setFileMode(@NotNull String file, @NotNull String mode) throws IOException- Specified by:
setFileModein interfaceLowLevelPatch<LowLevelPatcherListener.ReadFileContent,String>- Throws:
IOException
-
addDirectory
public void addDirectory(@NotNull String file) throws IOException- Specified by:
addDirectoryin interfaceLowLevelPatch<LowLevelPatcherListener.ReadFileContent,String>- Throws:
IOException
-
changeBinary
public void changeBinary(@NotNull String file, long length, @NotNull LowLevelPatcherListener.ReadFileContent content, boolean create) throws IOException- Specified by:
changeBinaryin interfaceLowLevelPatch<LowLevelPatcherListener.ReadFileContent,String>- Throws:
IOException
-
changeTextUsingBytes
public void changeTextUsingBytes(@NotNull String file, @NotNull byte[] lineSeparator, long length, @NotNull LowLevelPatcherListener.ReadFileContent content, boolean create) throws IOException- Specified by:
changeTextUsingBytesin interfaceLowLevelPatch<LowLevelPatcherListener.ReadFileContent,String>- Throws:
IOException
-
setWorkingDirectory
public void setWorkingDirectory(@NotNull String file) throws IOException- Throws:
IOException
-
exit
public void exit(@NotNull String message) throws IOException- Specified by:
exitin interfaceLowLevelPatch<LowLevelPatcherListener.ReadFileContent,String>- Throws:
IOException
-
fail
public void fail(@NotNull String message)- Specified by:
failin interfaceLowLevelPatch<LowLevelPatcherListener.ReadFileContent,String>
-
-