Class LowLevelPatchBuilderImpl
- java.lang.Object
-
- jetbrains.buildServer.vcs.patches.LowLevelPatchBuilderImpl
-
- All Implemented Interfaces:
LowLevelPatch<LowLevelPatchBuilder.WriteFileContent,String>,LowLevelPatchBuilder
public class LowLevelPatchBuilderImpl extends Object implements LowLevelPatchBuilder
Created by IntelliJ IDEA. User: Eugene.Petrenko Date: 16.07.2007 Time: 17:34:25
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface jetbrains.buildServer.vcs.patches.LowLevelPatchBuilder
LowLevelPatchBuilder.WriteFileContent
-
-
Constructor Summary
Constructors Constructor Description LowLevelPatchBuilderImpl(DataOutputStream outputStream)LowLevelPatchBuilderImpl(OutputStream outputStream)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddDirectory(String file)voidchangeBinary(String file, long length, LowLevelPatchBuilder.WriteFileContent writer, boolean create)voidchangeTextUsingBytes(String file, byte[] lineSeparator, long length, LowLevelPatchBuilder.WriteFileContent writer, boolean create)voidclose()voiddelete(String file, boolean isFile, boolean emptyParent)voidexit(String message)voidfail(String message)voidflush()voidinterrupt()voidnoOp()voidrename(String oldName, String newName, boolean isFile, boolean emptyParent)voidsetFileMode(String file, String mode)voidsetTimeStamp(String file, long timestamp)
-
-
-
Constructor Detail
-
LowLevelPatchBuilderImpl
public LowLevelPatchBuilderImpl(@NotNull OutputStream outputStream)
-
LowLevelPatchBuilderImpl
public LowLevelPatchBuilderImpl(@NotNull DataOutputStream outputStream)
-
-
Method Detail
-
exit
public void exit(@NotNull String message) throws IOException- Specified by:
exitin interfaceLowLevelPatch<LowLevelPatchBuilder.WriteFileContent,String>- Throws:
IOException
-
fail
public void fail(@NotNull String message) throws IOException- Specified by:
failin interfaceLowLevelPatch<LowLevelPatchBuilder.WriteFileContent,String>- Throws:
IOException
-
changeBinary
public void changeBinary(@NotNull String file, long length, @NotNull LowLevelPatchBuilder.WriteFileContent writer, boolean create) throws IOException- Specified by:
changeBinaryin interfaceLowLevelPatch<LowLevelPatchBuilder.WriteFileContent,String>- Throws:
IOException
-
setTimeStamp
public void setTimeStamp(@NotNull String file, long timestamp) throws IOException- Specified by:
setTimeStampin interfaceLowLevelPatch<LowLevelPatchBuilder.WriteFileContent,String>- Throws:
IOException
-
setFileMode
public void setFileMode(@NotNull String file, @NotNull String mode) throws IOException- Specified by:
setFileModein interfaceLowLevelPatch<LowLevelPatchBuilder.WriteFileContent,String>- Throws:
IOException
-
addDirectory
public void addDirectory(@NotNull String file) throws IOException- Specified by:
addDirectoryin interfaceLowLevelPatch<LowLevelPatchBuilder.WriteFileContent,String>- Throws:
IOException
-
changeTextUsingBytes
public void changeTextUsingBytes(@NotNull String file, @NotNull byte[] lineSeparator, long length, @NotNull LowLevelPatchBuilder.WriteFileContent writer, boolean create) throws IOException- Specified by:
changeTextUsingBytesin interfaceLowLevelPatch<LowLevelPatchBuilder.WriteFileContent,String>- Throws:
IOException
-
delete
public void delete(@NotNull String file, boolean isFile, boolean emptyParent) throws IOException- Specified by:
deletein interfaceLowLevelPatch<LowLevelPatchBuilder.WriteFileContent,String>- Throws:
IOException
-
rename
public void rename(@NotNull String oldName, @NotNull String newName, boolean isFile, boolean emptyParent) throws IOException- Specified by:
renamein interfaceLowLevelPatch<LowLevelPatchBuilder.WriteFileContent,String>- Throws:
IOException
-
close
public void close() throws IOException- Specified by:
closein interfaceLowLevelPatchBuilder- Throws:
IOException
-
interrupt
public void interrupt() throws IOException- Specified by:
interruptin interfaceLowLevelPatchBuilder- Throws:
IOException
-
flush
public void flush() throws IOException- Specified by:
flushin interfaceLowLevelPatchBuilder- Throws:
IOException
-
noOp
public void noOp() throws IOException- Specified by:
noOpin interfaceLowLevelPatchBuilder- Throws:
IOException
-
-