Class LowLevelPatchBuilderWrapper
- java.lang.Object
-
- jetbrains.buildServer.vcs.patches.LowLevelPatchBuilderWrapper
-
- All Implemented Interfaces:
LowLevelPatch<LowLevelPatchBuilder.WriteFileContent,java.lang.String>
,LowLevelPatchBuilder
public class LowLevelPatchBuilderWrapper extends java.lang.Object implements LowLevelPatchBuilder
Created by Eugene Petrenko (eugene.petrenko@gmail.com) Date: 12.11.12 23:13
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface jetbrains.buildServer.vcs.patches.LowLevelPatchBuilder
LowLevelPatchBuilder.WriteFileContent
-
-
Constructor Summary
Constructors Constructor Description LowLevelPatchBuilderWrapper(LowLevelPatchBuilder host)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addDirectory(java.lang.String file)
void
changeBinary(java.lang.String file, long length, LowLevelPatchBuilder.WriteFileContent content, boolean create)
void
changeTextUsingBytes(java.lang.String file, byte[] lineSeparator, long length, LowLevelPatchBuilder.WriteFileContent content, boolean create)
void
close()
void
delete(java.lang.String file, boolean isFile, boolean emptyParent)
void
exit(java.lang.String message)
void
fail(java.lang.String message)
void
flush()
void
interrupt()
void
noOp()
void
rename(java.lang.String oldName, java.lang.String newName, boolean isFile, boolean emptyParent)
void
setFileMode(java.lang.String file, java.lang.String mode)
void
setTimeStamp(java.lang.String file, long timestamp)
-
-
-
Constructor Detail
-
LowLevelPatchBuilderWrapper
public LowLevelPatchBuilderWrapper(@NotNull LowLevelPatchBuilder host)
-
-
Method Detail
-
close
public void close() throws java.io.IOException
- Specified by:
close
in interfaceLowLevelPatchBuilder
- Throws:
java.io.IOException
-
flush
public void flush() throws java.io.IOException
- Specified by:
flush
in interfaceLowLevelPatchBuilder
- Throws:
java.io.IOException
-
delete
public void delete(@NotNull java.lang.String file, boolean isFile, boolean emptyParent) throws java.io.IOException
- Specified by:
delete
in interfaceLowLevelPatch<LowLevelPatchBuilder.WriteFileContent,java.lang.String>
- Throws:
java.io.IOException
-
rename
public void rename(@NotNull java.lang.String oldName, @NotNull java.lang.String newName, boolean isFile, boolean emptyParent) throws java.io.IOException
- Specified by:
rename
in interfaceLowLevelPatch<LowLevelPatchBuilder.WriteFileContent,java.lang.String>
- Throws:
java.io.IOException
-
setTimeStamp
public void setTimeStamp(@NotNull java.lang.String file, long timestamp) throws java.io.IOException
- Specified by:
setTimeStamp
in interfaceLowLevelPatch<LowLevelPatchBuilder.WriteFileContent,java.lang.String>
- Throws:
java.io.IOException
-
setFileMode
public void setFileMode(@NotNull java.lang.String file, @NotNull java.lang.String mode) throws java.io.IOException
- Specified by:
setFileMode
in interfaceLowLevelPatch<LowLevelPatchBuilder.WriteFileContent,java.lang.String>
- Throws:
java.io.IOException
-
addDirectory
public void addDirectory(@NotNull java.lang.String file) throws java.io.IOException
- Specified by:
addDirectory
in interfaceLowLevelPatch<LowLevelPatchBuilder.WriteFileContent,java.lang.String>
- Throws:
java.io.IOException
-
changeBinary
public void changeBinary(@NotNull java.lang.String file, long length, @NotNull LowLevelPatchBuilder.WriteFileContent content, boolean create) throws java.io.IOException
- Specified by:
changeBinary
in interfaceLowLevelPatch<LowLevelPatchBuilder.WriteFileContent,java.lang.String>
- Throws:
java.io.IOException
-
changeTextUsingBytes
public void changeTextUsingBytes(@NotNull java.lang.String file, @NotNull byte[] lineSeparator, long length, @NotNull LowLevelPatchBuilder.WriteFileContent content, boolean create) throws java.io.IOException
- Specified by:
changeTextUsingBytes
in interfaceLowLevelPatch<LowLevelPatchBuilder.WriteFileContent,java.lang.String>
- Throws:
java.io.IOException
-
exit
public void exit(@NotNull java.lang.String message) throws java.io.IOException
- Specified by:
exit
in interfaceLowLevelPatch<LowLevelPatchBuilder.WriteFileContent,java.lang.String>
- Throws:
java.io.IOException
-
fail
public void fail(@NotNull java.lang.String message) throws java.io.IOException
- Specified by:
fail
in interfaceLowLevelPatch<LowLevelPatchBuilder.WriteFileContent,java.lang.String>
- Throws:
java.io.IOException
-
interrupt
public void interrupt() throws java.io.IOException
- Specified by:
interrupt
in interfaceLowLevelPatchBuilder
- Throws:
java.io.IOException
-
noOp
public void noOp() throws java.io.IOException
- Specified by:
noOp
in interfaceLowLevelPatchBuilder
- Throws:
java.io.IOException
-
-