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 void
addDirectory(String file)
void
changeBinary(String file, long length, LowLevelPatcherListener.ReadFileContent content, boolean create)
void
changeTextUsingBytes(String file, byte[] lineSeparator, long length, LowLevelPatcherListener.ReadFileContent content, boolean create)
void
delete(String file, boolean isFile, boolean emptyParent)
void
exit(String message)
void
fail(String message)
void
rename(String oldName, String newName, boolean isFile, boolean emptyParent)
void
setFileMode(String file, String mode)
void
setTimeStamp(String file, long timestamp)
void
setWorkingDirectory(String file)
-
-
-
Method Detail
-
delete
public void delete(@NotNull String file, boolean isFile, boolean emptyParent) throws IOException
- Specified by:
delete
in interfaceLowLevelPatch<LowLevelPatcherListener.ReadFileContent,String>
- Throws:
IOException
-
rename
public void rename(@NotNull String oldName, @NotNull String newName, boolean isFile, boolean emptyParent) throws IOException
- Specified by:
rename
in interfaceLowLevelPatch<LowLevelPatcherListener.ReadFileContent,String>
- Throws:
IOException
-
setTimeStamp
public void setTimeStamp(@NotNull String file, long timestamp) throws IOException
- Specified by:
setTimeStamp
in interfaceLowLevelPatch<LowLevelPatcherListener.ReadFileContent,String>
- Throws:
IOException
-
setFileMode
public void setFileMode(@NotNull String file, @NotNull String mode) throws IOException
- Specified by:
setFileMode
in interfaceLowLevelPatch<LowLevelPatcherListener.ReadFileContent,String>
- Throws:
IOException
-
addDirectory
public void addDirectory(@NotNull String file) throws IOException
- Specified by:
addDirectory
in 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:
changeBinary
in 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:
changeTextUsingBytes
in 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:
exit
in interfaceLowLevelPatch<LowLevelPatcherListener.ReadFileContent,String>
- Throws:
IOException
-
fail
public void fail(@NotNull String message)
- Specified by:
fail
in interfaceLowLevelPatch<LowLevelPatcherListener.ReadFileContent,String>
-
-